ProvisioningManager.GetRcsProvisioningStatusForCapability Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the provisioning status for the IMS RCS capability specified.
[Android.Runtime.Register("getRcsProvisioningStatusForCapability", "(II)Z", "GetGetRcsProvisioningStatusForCapability_IIHandler", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")]
public virtual bool GetRcsProvisioningStatusForCapability (int capability, int tech);
[<Android.Runtime.Register("getRcsProvisioningStatusForCapability", "(II)Z", "GetGetRcsProvisioningStatusForCapability_IIHandler", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")>]
abstract member GetRcsProvisioningStatusForCapability : int * int -> bool
override this.GetRcsProvisioningStatusForCapability : int * int -> bool
Parameters
- capability
- Int32
- tech
- Int32
Returns
true if the device is provisioned for the capability or does not require provisioning, false if the capability does require provisioning and has not been provisioned yet.
- Attributes
Remarks
Get the provisioning status for the IMS RCS capability specified.
If provisioning is not required for the queried ImsRcsManager.RcsImsCapabilityFlag
or if the device does not support IMS this method will always return true
.
Requires Permission: <ul> <li>android.Manifest.permission#READ_PRECISE_PHONE_STATE
,</li> <li>or that the caller has carrier privileges (see TelephonyManager#hasCarrierPrivileges()
).</li> </ul>
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.