PHLivePhotoEditingContext.PrepareLivePhotoForPlaybackAsync Method

Definition

Overloads

Name Description
PrepareLivePhotoForPlaybackAsync(CGSize)

Asynchronously prepares an edited Live Photo for playback, returning a task that provides the live photo.

PrepareLivePhotoForPlaybackAsync(CGSize, NSDictionary<NSString,NSObject>)

Asynchronously prepares an edited Live Photo for playback, returning a task that provides the live photo.

PrepareLivePhotoForPlaybackAsync(CGSize, PHLivePhotoEditingOption)

Asynchronously prepares an edited Live Photo for playback, returning a task that provides the live photo.

PrepareLivePhotoForPlaybackAsync(CGSize)

Asynchronously prepares an edited Live Photo for playback, returning a task that provides the live photo.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public System.Threading.Tasks.Task<Photos.PHLivePhoto> PrepareLivePhotoForPlaybackAsync(CoreGraphics.CGSize targetSize);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize -> System.Threading.Tasks.Task<Photos.PHLivePhoto>

Parameters

targetSize
CGSize

The size of the output view to target.

Returns

Attributes

Applies to

PrepareLivePhotoForPlaybackAsync(CGSize, NSDictionary<NSString,NSObject>)

Asynchronously prepares an edited Live Photo for playback, returning a task that provides the live photo.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Photos.PHLivePhoto> PrepareLivePhotoForPlaybackAsync(CoreGraphics.CGSize targetSize, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<Photos.PHLivePhoto>
override this.PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<Photos.PHLivePhoto>

Parameters

targetSize
CGSize

The size of the output view to target.

options
NSDictionary<NSString,NSObject>

Live Photo processing options.This parameter can be .

Returns

A task that represents the asynchronous PrepareLivePhotoForPlayback operation. The value of the TResult parameter is of type Action<Photos.PHLivePhoto,Foundation.NSError>.

Attributes

Applies to

PrepareLivePhotoForPlaybackAsync(CGSize, PHLivePhotoEditingOption)

Asynchronously prepares an edited Live Photo for playback, returning a task that provides the live photo.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public System.Threading.Tasks.Task<Photos.PHLivePhoto> PrepareLivePhotoForPlaybackAsync(CoreGraphics.CGSize targetSize, Photos.PHLivePhotoEditingOption? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.PrepareLivePhotoForPlaybackAsync : CoreGraphics.CGSize * Photos.PHLivePhotoEditingOption -> System.Threading.Tasks.Task<Photos.PHLivePhoto>

Parameters

targetSize
CGSize

The size of the output view to target.

options
PHLivePhotoEditingOption

Live Photo processing options.

This parameter can be null.

Returns

Attributes

Applies to