Edit

Bagikan melalui


IINSearchForAccountsIntentHandling Interface

Definition

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

[Foundation.Protocol(Name="INSearchForAccountsIntentHandling", WrapperType=typeof(Intents.INSearchForAccountsIntentHandlingWrapper))]
[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 IINSearchForAccountsIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSearchForAccountsIntentHandling = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleSearchForAccounts(INSearchForAccountsIntent, Action<INSearchForAccountsIntentResponse>)

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

Extension Methods

Confirm(IINSearchForAccountsIntentHandling, INSearchForAccountsIntent, Action<INSearchForAccountsIntentResponse>)

Developers may implement this method to confirm whether local and remote resources are ready to perform the search.

ResolveAccountNickname(IINSearchForAccountsIntentHandling, INSearchForAccountsIntent, Action<INSpeakableStringResolutionResult>)

Developers may implement this method to customize resolution of account nicknames.

ResolveAccountType(IINSearchForAccountsIntentHandling, INSearchForAccountsIntent, Action<INAccountTypeResolutionResult>)

Developers may implement this method to customize resolution of account types.

ResolveOrganizationName(IINSearchForAccountsIntentHandling, INSearchForAccountsIntent, Action<INSpeakableStringResolutionResult>)

Developers may implement this method to customize resolution of organization names.

ResolveRequestedBalanceType(IINSearchForAccountsIntentHandling, INSearchForAccountsIntent, Action<INBalanceTypeResolutionResult>)

Developers may implement this method to customize resolution of requested balance types.

Applies to