Edit

Bagikan melalui


IINSearchForPhotosIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INSearchForPhotosIntentResponse appropriate to arg.

[Foundation.Protocol(Name="INSearchForPhotosIntentHandling", WrapperType=typeof(Intents.INSearchForPhotosIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINSearchForPhotosIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINSearchForPhotosIntentHandling = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleSearchForPhotos(INSearchForPhotosIntent, Action<INSearchForPhotosIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INSearchForPhotosIntentResponse appropriate to the INSearchForPhotosIntent intent.

Extension Methods

ConfirmSearchForPhotos(IINSearchForPhotosIntentHandling, INSearchForPhotosIntent, Action<INSearchForPhotosIntentResponse>)

Developers may override this method to customize the confirmation of a photo search.

ResolveAlbumName(IINSearchForPhotosIntentHandling, INSearchForPhotosIntent, Action<INStringResolutionResult>)

Developers may override this method to customize the resoluition of a photo album name.

ResolveDateCreated(IINSearchForPhotosIntentHandling, INSearchForPhotosIntent, Action<INDateComponentsRangeResolutionResult>)

Developers may override this method to customize the resolution of a date-created variable.

ResolveLocationCreated(IINSearchForPhotosIntentHandling, INSearchForPhotosIntent, Action<INPlacemarkResolutionResult>)

Developers may override this method to customize the resolution of the location-created variable.

ResolvePeopleInPhoto(IINSearchForPhotosIntentHandling, INSearchForPhotosIntent, Action<INPersonResolutionResult[]>)

Developers may override this method to customize the resolution of people in the photo.

ResolveSearchTerms(IINSearchForPhotosIntentHandling, INSearchForPhotosIntent, Action<INStringResolutionResult[]>)

Developers may implement this method to customize resolution of the search terms.

Applies to