ImsRcsManager.ActionShowCapabilityDiscoveryOptIn Field

Definition

Activity Action: Show the opt-in dialog for enabling or disabling RCS contact discovery using User Capability Exchange (UCE), which enables a service that periodically shares the phone numbers of all of the contacts in the user's address book with the carrier to refresh the RCS capabilities associated with those contacts as the local cache becomes stale.

[Android.Runtime.Register("ACTION_SHOW_CAPABILITY_DISCOVERY_OPT_IN", ApiSince=30)]
public const string ActionShowCapabilityDiscoveryOptIn;
[<Android.Runtime.Register("ACTION_SHOW_CAPABILITY_DISCOVERY_OPT_IN", ApiSince=30)>]
val mutable ActionShowCapabilityDiscoveryOptIn : string

Field Value

Attributes

Remarks

Activity Action: Show the opt-in dialog for enabling or disabling RCS contact discovery using User Capability Exchange (UCE), which enables a service that periodically shares the phone numbers of all of the contacts in the user's address book with the carrier to refresh the RCS capabilities associated with those contacts as the local cache becomes stale.

An application that depends on RCS contact discovery being enabled must send this intent using Context#startActivity(Intent) to ask the user to opt-in for contacts upload for capability exchange if it is currently disabled. Whether or not RCS contact discovery has been enabled by the user can be queried using RcsUceAdapter#isUceSettingEnabled().

This intent will always be handled by the system, however the application should only send this Intent if the carrier supports bulk RCS contact exchange, which will be true if either key android.telephony.CarrierConfigManager.Ims#KEY_RCS_BULK_CAPABILITY_EXCHANGE_BOOL or android.telephony.CarrierConfigManager#KEY_USE_RCS_PRESENCE_BOOL is set to true. Otherwise, the RCS contact discovery opt-in dialog will not be shown.

Input: A mandatory Settings#EXTRA_SUB_ID extra containing the subscription that the setting will be be shown for.

Output: Nothing

Java documentation for android.telephony.ims.ImsRcsManager.ACTION_SHOW_CAPABILITY_DISCOVERY_OPT_IN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to