Condividi tramite


ProvisioningManager.SetRcsProvisioningStatusForCapability Method

Definition

Set the provisioning status for the IMS RCS capability using the specified subscription.

[Android.Runtime.Register("setRcsProvisioningStatusForCapability", "(IIZ)V", "GetSetRcsProvisioningStatusForCapability_IIZHandler", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual void SetRcsProvisioningStatusForCapability (int capability, int tech, bool isProvisioned);
[<Android.Runtime.Register("setRcsProvisioningStatusForCapability", "(IIZ)V", "GetSetRcsProvisioningStatusForCapability_IIZHandler", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member SetRcsProvisioningStatusForCapability : int * int * bool -> unit
override this.SetRcsProvisioningStatusForCapability : int * int * bool -> unit

Parameters

capability
Int32
tech
Int32
isProvisioned
Boolean

true if the device is provisioned for the RCS capability specified, false otherwise.

Attributes

Remarks

Set the provisioning status for the IMS RCS capability using the specified subscription.

Provisioning may or may not be required, depending on the carrier configuration. If provisioning is not required for the carrier associated with this subscription or the device does not support the capability/technology combination specified, this operation will be a no-op.

Requires Permission: <ul> <li>android.Manifest.permission#MODIFY_PHONE_STATE,</li> <li>or that the caller has carrier privileges (see TelephonyManager#hasCarrierPrivileges()).</li> </ul>

Java documentation for android.telephony.ims.ProvisioningManager.setRcsProvisioningStatusForCapability(int, int, boolean).

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