INPreferences.RequestSiriAuthorization Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- handler
- Action<INSiriAuthorizationStatus>
- Attributes