Added in API level 24

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
equals(other: Any?)

open Int

open Boolean

open Boolean

open Boolean

open Boolean

open Boolean

open Int

Constants

CALL_COMPOSER_ATTACHMENT_LOCATION

Added in API level 31
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

Added in API level 31
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

Added in API level 31
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

Added in API level 31
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

Added in API level 24
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.

getDisallowCall

Added in API level 24
open fun getDisallowCall(): Boolean

getRejectCall

Added in API level 24
open fun getRejectCall(): Boolean

getSilenceCall

Added in API level 29
open fun getSilenceCall(): Boolean

getSkipCallLog

Added in API level 24
open fun getSkipCallLog(): Boolean

getSkipNotification

Added in API level 24
open fun getSkipNotification(): Boolean

hashCode

Added in API level 24
open fun hashCode(): Int
Return
Int a hash code value for this object.