Edytuj

Udostępnij za pośrednictwem


IINGetVisualCodeIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INGetVisualCodeIntentResponse appropriate to arg.

[Foundation.Protocol(Name="INGetVisualCodeIntentHandling", WrapperType=typeof(Intents.INGetVisualCodeIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINGetVisualCodeIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINGetVisualCodeIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleGetVisualCode(INGetVisualCodeIntent, Action<INGetVisualCodeIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INGetVisualCodeIntentResponse appropriate to the INGetVisualCodeIntent intent.

Extension Methods

Confirm(IINGetVisualCodeIntentHandling, INGetVisualCodeIntent, Action<INGetVisualCodeIntentResponse>)

Developers may implement this method to confirm whether local and remote resources are ready and allowed to provide the code.

ResolveVisualCodeType(IINGetVisualCodeIntentHandling, INGetVisualCodeIntent, Action<INVisualCodeTypeResolutionResult>)

Developers may implement this method to customize the resolution of a visual code type.

Applies to