Compartilhar via


INPreferences.RequestSiriAuthorization Método

Definição

Solicita autorização do usuário para usar Intenções/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

Parâmetros

Atributos

Aplica-se a