Condividi tramite


INPreferences.RequestSiriAuthorization Metodo

Definizione

Richiede l'autorizzazione dall'utente per usare 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

Parametri

Attributi

Si applica a