ICPSearchTemplateDelegate Schnittstelle

Definition

Delegate-Objekt für die CPSearchTemplate Klasse.

[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
Abgeleitet
Attribute
Implementiert

Eigenschaften

Name Beschreibung
Handle

Handle (Zeiger) auf die nicht verwaltete Objektdarstellung.

(Geerbt von INativeObject)

Methoden

Name Beschreibung
SearchButtonPressed(CPSearchTemplate)

Delegate-Objekt für die CPSearchTemplate Klasse.

SelectedResult(CPSearchTemplate, CPListItem, Action)

Entwickler müssen diese Methode außer Kraft setzen, um auf eine Suchauswahl zu reagieren.

UpdatedSearchText(CPSearchTemplate, String, CPSearchTemplateDelegateUpdateHandler)

Entwickler müssen diese Methode außer Kraft setzen, um auf eine Änderung im Suchtext zu reagieren.

Erweiterungsmethoden

Name Beschreibung
GetHandle(INativeObject)

Delegate-Objekt für die CPSearchTemplate Klasse.

GetNonNullHandle(INativeObject, String)

Delegate-Objekt für die CPSearchTemplate Klasse.

SearchButtonPressed(ICPSearchTemplateDelegate, CPSearchTemplate)

Delegate-Objekt für die CPSearchTemplate Klasse.

Gilt für: