CTCellularPlanStatus.RequestAuthorizationAsync(String) 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.
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