RcsUceAdapter
  public
  
  
  
  class
  RcsUceAdapter
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.telephony.ims.RcsUceAdapter | 
Manages RCS User Capability Exchange for the subscription specified.
 
 Requires the PackageManager#FEATURE_TELEPHONY_IMS feature which can be detected using PackageManager.hasSystemFeature(String).
Summary
| Public methods | |
|---|---|
| 
        
        
        
        
        
        boolean | 
      isUceSettingEnabled()
      The setting for whether or not the user has opted in to the automatic refresh of the RCS capabilities associated with the contacts in the user's contact address book. | 
| Inherited methods | |
|---|---|
Public methods
isUceSettingEnabled
public boolean isUceSettingEnabled ()
The setting for whether or not the user has opted in to the automatic refresh of the RCS
 capabilities associated with the contacts in the user's contact address book. By default,
 this setting is disabled and must be enabled after the user has seen the opt-in dialog shown
 by ImsRcsManager.ACTION_SHOW_CAPABILITY_DISCOVERY_OPT_IN.
 
If this feature is enabled, the device will periodically share the phone numbers of all of the contacts in the user's address book with the carrier to refresh the RCS capabilities cache associated with those contacts as the local cache becomes stale.
 This setting will only enable this feature if
 CarrierConfigManager.Ims.KEY_RCS_BULK_CAPABILITY_EXCHANGE_BOOL is
 also enabled.
 
 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 has opted in for automatic refresh of the RCS capabilities of their contacts, false otherwise. | 
| Throws | |
|---|---|
| ImsException | if the subscription associated with this instance of RcsUceAdapteris 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. SeeImsException.getCode()for more information on the error codes. | 
| UnsupportedOperationException | If the device does not have PackageManager.FEATURE_TELEPHONY_IMS. | 
