Capability


class Capability
kotlin.Any
   ↳ android.provider.PeopleContract.Capability

Bitmask flags indicating the types of communication reached or supported by a user identity in a People Directory.

For People Directory applications: People Directory applications should evaluate user capabilities and combine appropriate reachability flags via bitwise OR when populating the Persons.CAPABILITY column.

For client applications: Clients inspect these bitmask flags on returned person records to determine which interaction types (such as audio calling, video calling, or messaging) are supported before presenting communication actions or calling createPeopleInteractionRequest:

Summary

Constants
static Int

Flag indicating that the person supports text communication (such as instant messaging).

static Int

Flag indicating that the person supports video communication (such as video calling).

static Int

Flag indicating that the person supports voice communication (such as audio calling).

Constants

TEXT_REACHABILITY

static val TEXT_REACHABILITY: Int

Flag indicating that the person supports text communication (such as instant messaging).

Value: 4

VIDEO_REACHABILITY

static val VIDEO_REACHABILITY: Int

Flag indicating that the person supports video communication (such as video calling).

Value: 2

VOICE_REACHABILITY

static val VOICE_REACHABILITY: Int

Flag indicating that the person supports voice communication (such as audio calling).

Value: 1