Freigeben über


ProvisioningManager.SetProvisioningStatusForCapability Method

Definition

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

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

Parameters

capability
Int32
tech
Int32
isProvisioned
Boolean

true if the device is provisioned for UT over IMS, false otherwise.

Attributes

Remarks

Set the provisioning status for the IMS MmTel 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 calling app has carrier privileges (see</li> <li>TelephonyManager#hasCarrierPrivileges).</li> </ul>

Java documentation for android.telephony.ims.ProvisioningManager.setProvisioningStatusForCapability(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