編輯

共用方式為


PHLivePhotoViewDelegate_Extensions Class

Definition

Extension methods to the IPHLivePhotoViewDelegate interface to support all the methods from the PHLivePhotoViewDelegate protocol.

public static class PHLivePhotoViewDelegate_Extensions
type PHLivePhotoViewDelegate_Extensions = class
Inheritance
PHLivePhotoViewDelegate_Extensions

Remarks

The extension methods for IPHLivePhotoViewDelegate allow developers to treat instances of the interface as having all the optional methods of the original PHLivePhotoViewDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidEndPlayback(IPHLivePhotoViewDelegate, PHLivePhotoView, PHLivePhotoViewPlaybackStyle)

Method that is called aftr playback ends.

WillBeginPlayback(IPHLivePhotoViewDelegate, PHLivePhotoView, PHLivePhotoViewPlaybackStyle)

Method that is called just before playback begins.

Applies to