ICPSearchTemplateDelegate Interfaccia

Definizione

Delegare l'oggetto per la CPSearchTemplate classe .

[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
Derivato
Attributi
Implementazioni

Proprietà

Nome Descrizione
Handle

Handle (puntatore) alla rappresentazione dell'oggetto non gestito.

(Ereditato da INativeObject)

Metodi

Nome Descrizione
SearchButtonPressed(CPSearchTemplate)

Delegare l'oggetto per la CPSearchTemplate classe .

SelectedResult(CPSearchTemplate, CPListItem, Action)

Gli sviluppatori devono eseguire l'override di questo metodo per rispondere a una selezione di ricerca.

UpdatedSearchText(CPSearchTemplate, String, CPSearchTemplateDelegateUpdateHandler)

Gli sviluppatori devono eseguire l'override di questo metodo per rispondere a una modifica nel testo di ricerca.

Metodi di estensione

Nome Descrizione
GetHandle(INativeObject)

Delegare l'oggetto per la CPSearchTemplate classe .

GetNonNullHandle(INativeObject, String)

Delegare l'oggetto per la CPSearchTemplate classe .

SearchButtonPressed(ICPSearchTemplateDelegate, CPSearchTemplate)

Delegare l'oggetto per la CPSearchTemplate classe .

Si applica a