CallResponse
open class CallResponse
kotlin.Any | |
↳ | android.telecom.CallScreeningService.CallResponse |
Information about how to respond to an incoming call. Call screening apps can construct an instance of this class using CallResponse.Builder
.
Summary
Nested classes | |
---|---|
open |
Constants | |
---|---|
static Int |
Bit flag indicating whether to show the location attachment for call composer. |
static Int |
Bit flag indicating whether to show the picture attachment for call composer. |
static Int |
Bit flag indicating whether to show the priority attachment for call composer. |
static Int |
Bit flag indicating whether to show the subject attachment for call composer. |
Public methods | |
---|---|
open Boolean | |
open Int | |
open Boolean | |
open Boolean | |
open Boolean | |
open Boolean | |
open Boolean | |
open Int |
hashCode() |
Constants
CALL_COMPOSER_ATTACHMENT_LOCATION
static val CALL_COMPOSER_ATTACHMENT_LOCATION: Int
Bit flag indicating whether to show the location attachment for call composer. Used with Builder#setCallComposerAttachmentsToShow(int)
.
Value: 2
CALL_COMPOSER_ATTACHMENT_PICTURE
static val CALL_COMPOSER_ATTACHMENT_PICTURE: Int
Bit flag indicating whether to show the picture attachment for call composer. Used with Builder#setCallComposerAttachmentsToShow(int)
.
Value: 1
CALL_COMPOSER_ATTACHMENT_PRIORITY
static val CALL_COMPOSER_ATTACHMENT_PRIORITY: Int
Bit flag indicating whether to show the priority attachment for call composer. Used with Builder#setCallComposerAttachmentsToShow(int)
.
Value: 8
CALL_COMPOSER_ATTACHMENT_SUBJECT
static val CALL_COMPOSER_ATTACHMENT_SUBJECT: Int
Bit flag indicating whether to show the subject attachment for call composer. Used with Builder#setCallComposerAttachmentsToShow(int)
.
Value: 4
Public methods
equals
open fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getCallComposerAttachmentsToShow
open fun getCallComposerAttachmentsToShow(): Int
Return | |
---|---|
Int |
A bitmask of call composer attachments that should be shown to the user. Value is either 0 or a combination of android.telecom.CallScreeningService.CallResponse#CALL_COMPOSER_ATTACHMENT_PICTURE , android.telecom.CallScreeningService.CallResponse#CALL_COMPOSER_ATTACHMENT_LOCATION , android.telecom.CallScreeningService.CallResponse#CALL_COMPOSER_ATTACHMENT_SUBJECT , and android.telecom.CallScreeningService.CallResponse#CALL_COMPOSER_ATTACHMENT_PRIORITY |
hashCode
open fun hashCode(): Int
Return | |
---|---|
Int |
a hash code value for this object. |