共用方式為


IINSetMessageAttributeIntentHandling 介面

定義

定義處理常式方法的介面,在實作時,必須使用適當的 呼叫 completionINSetMessageAttributeIntentResponsearg

[Foundation.Protocol(Name="INSetMessageAttributeIntentHandling", WrapperType=typeof(Intents.INSetMessageAttributeIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINSetMessageAttributeIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSetMessageAttributeIntentHandling = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

屬性

Handle

處理非受控物件標記法) (指標。

(繼承來源 INativeObject)

方法

HandleSetMessageAttribute(INSetMessageAttributeIntent, Action<INSetMessageAttributeIntentResponse>)

開發人員必須覆寫這個方法,並叫用適用于 的 INSetMessageAttributeIntentintent T:System.Action'1INSetMessageAttributeIntentResponse

擴充方法

ConfirmSetMessageAttribute(IINSetMessageAttributeIntentHandling, INSetMessageAttributeIntent, Action<INSetMessageAttributeIntentResponse>)

開發人員可以覆寫這個方法,以自訂訊息屬性的設定確認。

ResolveAttribute(IINSetMessageAttributeIntentHandling, INSetMessageAttributeIntent, Action<INMessageAttributeResolutionResult>)

開發人員可以覆寫這個方法來自訂訊息屬性的解析。

適用於