編輯

共用方式為


IINTransferMoneyIntentHandling Interface

Definition

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

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

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleTransferMoney(INTransferMoneyIntent, Action<INTransferMoneyIntentResponse>)

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

Extension Methods

Confirm(IINTransferMoneyIntentHandling, INTransferMoneyIntent, Action<INTransferMoneyIntentResponse>)

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

ResolveFromAccount(IINTransferMoneyIntentHandling, INTransferMoneyIntent, Action<INPaymentAccountResolutionResult>)

Developers may implement this method to customize resolution of the transfer amount.

ResolveToAccount(IINTransferMoneyIntentHandling, INTransferMoneyIntent, Action<INPaymentAccountResolutionResult>)

Developers may implement this method to customize resolution of the account that will receive the transfer.

ResolveTransactionAmount(IINTransferMoneyIntentHandling, INTransferMoneyIntent, Action<INPaymentAmountResolutionResult>)

Developers may implement this method to customize the resolution of the amount of the transaction.

ResolveTransactionNote(IINTransferMoneyIntentHandling, INTransferMoneyIntent, Action<INStringResolutionResult>)

Developers may implement this method to customize resolution of a note for a transfer.

ResolveTransactionScheduledDate(IINTransferMoneyIntentHandling, INTransferMoneyIntent, Action<INDateComponentsRangeResolutionResult>)

Developers may implement this method to customize resolution of a scheduled transfer date.

Applies to