Edit

Share via


INPreferences.RequestSiriAuthorization Method

Definition

Requests authorization from the user to use Intents / SiriKit.

[Foundation.Export("requestSiriAuthorization:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void RequestSiriAuthorization (Action<Intents.INSiriAuthorizationStatus> handler);
static member RequestSiriAuthorization : Action<Intents.INSiriAuthorizationStatus> -> unit

Parameters

Attributes

Applies to