共用方式為


IINSearchForMessagesIntentHandling 介面

定義

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

[Foundation.Protocol(Name="INSearchForMessagesIntentHandling", WrapperType=typeof(Intents.INSearchForMessagesIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 0, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINSearchForMessagesIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSearchForMessagesIntentHandling = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

屬性

Handle

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)

方法

HandleSearchForMessages(INSearchForMessagesIntent, Action<INSearchForMessagesIntentResponse>)

開發人員必須覆寫這個方法,並使用 適當的 INSearchForMessagesIntent 來叫用 INSearchForMessagesIntentResponse T:System.Action'1intent

擴充方法

ConfirmSearchForMessages(IINSearchForMessagesIntentHandling, INSearchForMessagesIntent, Action<INSearchForMessagesIntentResponse>)

開發人員可以覆寫這個方法來自訂訊息搜尋的確認。

ResolveAttributes(IINSearchForMessagesIntentHandling, INSearchForMessagesIntent, Action<INMessageAttributeOptionsResolutionResult>)

開發人員可以覆寫此方法,以自訂搜尋中屬性的解析。

ResolveDateTimeRange(IINSearchForMessagesIntentHandling, INSearchForMessagesIntent, Action<INDateComponentsRangeResolutionResult>)

開發人員可以覆寫此方法,以自訂搜尋中使用的日期範圍。

ResolveGroupNames(IINSearchForMessagesIntentHandling, INSearchForMessagesIntent, Action<INStringResolutionResult[]>)

開發人員不應該使用此已被取代的方法。 開發人員應該改用 'ResolveSpeakableGroupNames'。

ResolveRecipients(IINSearchForMessagesIntentHandling, INSearchForMessagesIntent, Action<INPersonResolutionResult[]>)

開發人員可能會覆寫此方法,以自訂郵件搜尋中的收件者解析。

ResolveSenders(IINSearchForMessagesIntentHandling, INSearchForMessagesIntent, Action<INPersonResolutionResult[]>)

開發人員可能會覆寫這個方法,以自訂訊息搜尋中的寄件者解析。

ResolveSpeakableGroupNames(IINSearchForMessagesIntentHandling, INSearchForMessagesIntent, Action<INSpeakableStringResolutionResult[]>)

開發人員可能會覆寫這個方法,以自訂命名為收件者之群組的可讀名稱解析。

適用於