Edytuj

Udostępnij za pośrednictwem


ICPSearchTemplateDelegate Interface

Definition

Delegate object used by CPSearchTemplate.

[Foundation.Protocol(Name="CPSearchTemplateDelegate", WrapperType=typeof(CarPlay.CPSearchTemplateDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface ICPSearchTemplateDelegate : IDisposable, ObjCRuntime.INativeObject
type ICPSearchTemplateDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

SelectedResult(CPSearchTemplate, CPListItem, Action)

Developers must overrride this method to respond to a search selection.

UpdatedSearchText(CPSearchTemplate, String, CPSearchTemplateDelegateUpdateHandler)

Developers must override this method to respond to a change in the search text.

Extension Methods

SearchButtonPressed(ICPSearchTemplateDelegate, CPSearchTemplate)

Applies to