PeopleContract.Capability


public static final class PeopleContract.Capability
extends Object

java.lang.Object
   ↳ 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 PeopleContract.createPeopleInteractionRequest(ContentResolver, String, Bundle):

Summary

Constants

int TEXT_REACHABILITY

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

int VIDEO_REACHABILITY

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

int VOICE_REACHABILITY

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

Inherited methods

Constants

TEXT_REACHABILITY

Added in API level 10000
public static final int TEXT_REACHABILITY

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

Constant Value: 4 (0x00000004)

VIDEO_REACHABILITY

Added in API level 10000
public static final int VIDEO_REACHABILITY

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

Constant Value: 2 (0x00000002)

VOICE_REACHABILITY

Added in API level 10000
public static final int VOICE_REACHABILITY

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

Constant Value: 1 (0x00000001)