PHLivePhotoEditingContext.PrepareLivePhotoForPlayback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PrepareLivePhotoForPlayback(CGSize, Action<PHLivePhoto,NSError>) |
Prepares an edited Live Photo for playback. |
PrepareLivePhotoForPlayback(CGSize, NSDictionary<NSString,NSObject>, Action<PHLivePhoto,NSError>) |
Prepares an edited Live Photo for playback. |
PrepareLivePhotoForPlayback(CGSize, PHLivePhotoEditingOption, Action<PHLivePhoto,NSError>) |
Prepares an edited Live Photo for playback. |
PrepareLivePhotoForPlayback(CGSize, Action<PHLivePhoto,NSError>)
Prepares an edited Live Photo for playback.
public void PrepareLivePhotoForPlayback (CoreGraphics.CGSize targetSize, Action<Photos.PHLivePhoto,Foundation.NSError> handler);
member this.PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
Parameters
- targetSize
- CGSize
The size of the output view to target.
- handler
- Action<PHLivePhoto,NSError>
A handler that takes the Live Photo and an error and is run on the main thread when the processing is complete.
Applies to
PrepareLivePhotoForPlayback(CGSize, NSDictionary<NSString,NSObject>, Action<PHLivePhoto,NSError>)
Prepares an edited Live Photo for playback.
public virtual void PrepareLivePhotoForPlayback (CoreGraphics.CGSize targetSize, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, Action<Photos.PHLivePhoto,Foundation.NSError> handler);
abstract member PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
override this.PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
Parameters
- targetSize
- CGSize
The size of the output view to target.
- handler
- Action<PHLivePhoto,NSError>
A handler that takes the Live Photo and an error and is run on the main thread when the processing is complete.
Applies to
PrepareLivePhotoForPlayback(CGSize, PHLivePhotoEditingOption, Action<PHLivePhoto,NSError>)
Prepares an edited Live Photo for playback.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public void PrepareLivePhotoForPlayback (CoreGraphics.CGSize targetSize, Photos.PHLivePhotoEditingOption options, Action<Photos.PHLivePhoto,Foundation.NSError> handler);
member this.PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Photos.PHLivePhotoEditingOption * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
Parameters
- targetSize
- CGSize
The size of the output view to target.
- handler
- Action<PHLivePhoto,NSError>
A handler that takes the Live Photo and an error and is run on the main thread when the processing is complete.
- Attributes