# Print output for @column tags ?> ImsRcsManager - Android SDK | Android Developers

Most visited

Recently visited

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

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 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 RCS contact discovery, which can be queried using the key CarrierConfigManager#KEY_USE_RCS_PRESENCE_BOOL. 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

See also:

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

Public methods

getUceAdapter

public RcsUceAdapter getUceAdapter ()

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