Language

CTCellularPlanStatus.RequestAuthorizationAsync(String) Method

Definition

Presents a prompt that asks the user to allow cellular plan checks for a phone number.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<CoreTelephony.CTCellularPlanStatusAuthorization> RequestAuthorizationAsync(string phoneNumber);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member RequestAuthorizationAsync : string -> System.Threading.Tasks.Task<CoreTelephony.CTCellularPlanStatusAuthorization>

Parameters

phoneNumber
String

A phone number in E.164 format, such as +15550001234.

Returns

A task that represents the asynchronous operation. The task result contains the authorization status.

Attributes

Applies to