Language

CTCellularPlanStatus.GetStatusHintAsync(String) Method

Definition

Estimates whether the device has an active cellular plan for a phone number and the system's confidence in that determination.

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

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 availability status and its confidence.

Attributes

Remarks

Call this method only after an authorization request or status query returns Authorized.

Applies to