Language

CTCellularPlanStatus.GetStatusHint Method

Definition

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

[Foundation.Export("getStatusHintForPhoneNumber:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void GetStatusHint(string phoneNumber, CoreTelephony.CTCellularPlanStatusHintCompletionHandler completionHandler);
[<Foundation.Export("getStatusHintForPhoneNumber:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetStatusHint : string * CoreTelephony.CTCellularPlanStatusHintCompletionHandler -> unit

Parameters

phoneNumber
String

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

completionHandler
CTCellularPlanStatusHintCompletionHandler

The handler to invoke with the availability status, confidence, or an error.

Attributes

Remarks

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

Applies to