Google is committed to advancing racial equity for Black communities. See how.

ImsRcsManager

public class ImsRcsManager
extends Object

java.lang.Object
   ↳ android.telephony.ims.ImsRcsManager


Manager for interfacing with the framework RCS services, including the User Capability Exchange (UCE) service, as well as managing user settings. Use ImsManager#getImsRcsManager(int) to create an instance of this manager.

Summary

Constants

String ACTION_SHOW_CAPABILITY_DISCOVERY_OPT_IN

Activity Action: Show the opt-in dialog for enabling or disabling RCS contact discovery using User Capability Exchange (UCE).

Public methods

RcsUceAdapter getUceAdapter()

Inherited methods

Constants

ACTION_SHOW_CAPABILITY_DISCOVERY_OPT_IN

Added in API level 30
public static final String ACTION_SHOW_CAPABILITY_DISCOVERY_OPT_IN

Activity Action: Show the opt-in dialog for enabling or disabling RCS contact discovery using User Capability Exchange (UCE).

An application that depends on contact discovery being enabled may 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 this setting has been enabled can be queried using RcsUceAdapter#isUceSettingEnabled().

This intent should only be sent if the carrier supports RCS capability exchange, which can be queried using the key CarrierConfigManager#KEY_USE_RCS_PRESENCE_BOOL. Otherwise, the setting will not be present.

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

Output: Nothing

See also:

Constant Value: "android.telephony.ims.action.SHOW_CAPABILITY_DISCOVERY_OPT_IN"

Public methods

getUceAdapter

Added in API level 30
public RcsUceAdapter getUceAdapter ()

Returns
RcsUceAdapter A RcsUceAdapter used for User Capability Exchange (UCE) operations for this subscription. This value cannot be null.