Compartir a través de


INPreferences.RequestSiriAuthorization Método

Definición

Solicita autorización del usuario para usar 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

Parámetros

Atributos

Se aplica a