CTCellularPlanStatus.GetAuthorizationStatusAsync(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.
Gets the current authorization status for a phone number without presenting any UI.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<CoreTelephony.CTCellularPlanStatusAuthorization> GetAuthorizationStatusAsync(string phoneNumber);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetAuthorizationStatusAsync : 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