ICPSearchTemplateDelegate インターフェイス

定義

CPSearchTemplate クラスのデリゲート オブジェクト。

[Foundation.Protocol(Name="CPSearchTemplateDelegate", WrapperType=typeof(CarPlay.CPSearchTemplateDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdatedSearchText", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDCPSearchTemplateDelegateUpdateHandler) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(System.String), typeof(CarPlay.CPSearchTemplateDelegateUpdateHandler) }, Selector="searchTemplate:updatedSearchText:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectedResult", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(CarPlay.CPListItem), typeof(System.Action) }, Selector="searchTemplate:selectedResult:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SearchButtonPressed", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate) }, Selector="searchTemplateSearchButtonPressed:")]
public interface ICPSearchTemplateDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="CPSearchTemplateDelegate", WrapperType=typeof(CarPlay.CPSearchTemplateDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="UpdatedSearchText", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDCPSearchTemplateDelegateUpdateHandler) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(System.String), typeof(CarPlay.CPSearchTemplateDelegateUpdateHandler) }, Selector="searchTemplate:updatedSearchText:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SelectedResult", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate), typeof(CarPlay.CPListItem), typeof(System.Action) }, Selector="searchTemplate:selectedResult:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="SearchButtonPressed", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CarPlay.CPSearchTemplate) }, Selector="searchTemplateSearchButtonPressed:")>]
type ICPSearchTemplateDelegate = interface
    interface INativeObject
    interface IDisposable
派生
属性
実装

プロパティ

名前 説明
Handle

アンマネージ オブジェクト表現へのハンドル (ポインター)。

(継承元 INativeObject)

メソッド

名前 説明
SearchButtonPressed(CPSearchTemplate)

CPSearchTemplate クラスのデリゲート オブジェクト。

SelectedResult(CPSearchTemplate, CPListItem, Action)

開発者は、検索の選択に応答するには、このメソッドをオーバーライドする必要があります。

UpdatedSearchText(CPSearchTemplate, String, CPSearchTemplateDelegateUpdateHandler)

開発者は、検索テキストの変更に応答するには、このメソッドをオーバーライドする必要があります。

拡張メソッド

名前 説明
GetHandle(INativeObject)

CPSearchTemplate クラスのデリゲート オブジェクト。

GetNonNullHandle(INativeObject, String)

CPSearchTemplate クラスのデリゲート オブジェクト。

SearchButtonPressed(ICPSearchTemplateDelegate, CPSearchTemplate)

CPSearchTemplate クラスのデリゲート オブジェクト。

適用対象