Google is committed to advancing racial equity for Black communities. See how.
Added in API level 30

RcsUceAdapter

public class RcsUceAdapter
extends Object

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


Manages RCS User Capability Exchange for the subscription specified.

Summary

Public methods

boolean isUceSettingEnabled()

The user’s setting for whether or not User Capability Exchange (UCE) is enabled for the associated subscription.

Inherited methods

Public methods

isUceSettingEnabled

Added in API level 30
public boolean isUceSettingEnabled ()

The user’s setting for whether or not User Capability Exchange (UCE) is enabled for the associated subscription.

Note: This setting does not affect whether or not the device publishes its service capabilities if the subscription supports presence publication.
Requires Manifest.permission.READ_PHONE_STATE

Returns
boolean true if the user’s setting for UCE is enabled, false otherwise.

Throws
ImsException if the subscription associated with this instance of RcsUceAdapter is valid, but the ImsService associated with the subscription is not available. This can happen if the ImsService has crashed, for example, or if the subscription becomes inactive. See ImsException#getCode() for more information on the error codes.