Edit

Share via


PHLivePhotoEditingContext.SaveLivePhotoAsync Method

Definition

Overloads

SaveLivePhotoAsync(PHContentEditingOutput)

Asynchronously saves a Live Photo, returning a task that indicates success or failure.

SaveLivePhotoAsync(PHContentEditingOutput, NSDictionary<NSString,NSObject>)

Asynchronously saves a Live Photo, returning a task that provides a tuple that contains a Boolean value that indicates succes or faiure and an error, if one was encountered.

SaveLivePhotoAsync(PHContentEditingOutput, PHLivePhotoEditingOption)

Asynchronously saves a Live Photo, returning a task that contains any error that was encountered.

SaveLivePhotoAsync(PHContentEditingOutput)

Asynchronously saves a Live Photo, returning a task that indicates success or failure.

public System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SaveLivePhotoAsync (Photos.PHContentEditingOutput output);
member this.SaveLivePhotoAsync : Photos.PHContentEditingOutput -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

output
PHContentEditingOutput

The photo editing output to which to save the photo.

Returns

Applies to

SaveLivePhotoAsync(PHContentEditingOutput, NSDictionary<NSString,NSObject>)

Asynchronously saves a Live Photo, returning a task that provides a tuple that contains a Boolean value that indicates succes or faiure and an error, if one was encountered.

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SaveLivePhotoAsync (Photos.PHContentEditingOutput output, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options);
abstract member SaveLivePhotoAsync : Photos.PHContentEditingOutput * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.SaveLivePhotoAsync : Photos.PHContentEditingOutput * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

output
PHContentEditingOutput

The photo editing output to which to save the photo.

options
NSDictionary<NSString,NSObject>

The Live Photo processing options to use, if any.

This parameter can be null.

Returns

Applies to

SaveLivePhotoAsync(PHContentEditingOutput, PHLivePhotoEditingOption)

Asynchronously saves a Live Photo, returning a task that contains any error that was encountered.

[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 System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SaveLivePhotoAsync (Photos.PHContentEditingOutput output, Photos.PHLivePhotoEditingOption options);
member this.SaveLivePhotoAsync : Photos.PHContentEditingOutput * Photos.PHLivePhotoEditingOption -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

output
PHContentEditingOutput

The photo editing output to which to save the photo.

options
PHLivePhotoEditingOption

The Live Photo processing options to use, if any.

This parameter can be null.

Returns

Attributes

Applies to