Düzenle

Aracılığıyla paylaş


PHLivePhotoEditingContext.SaveLivePhoto Method

Definition

Overloads

SaveLivePhoto(PHContentEditingOutput, Action<Boolean,NSError>)

Saves a Live Photo.

SaveLivePhoto(PHContentEditingOutput, NSDictionary<NSString,NSObject>, Action<Boolean,NSError>)

Saves a Live Photo.

SaveLivePhoto(PHContentEditingOutput, PHLivePhotoEditingOption, Action<Boolean,NSError>)

Saves a Live Photo.

SaveLivePhoto(PHContentEditingOutput, Action<Boolean,NSError>)

Saves a Live Photo.

public void SaveLivePhoto (Photos.PHContentEditingOutput output, Action<bool,Foundation.NSError> handler);
member this.SaveLivePhoto : Photos.PHContentEditingOutput * Action<bool, Foundation.NSError> -> unit

Parameters

output
PHContentEditingOutput

The output that will receive the Live Photo data.

handler
Action<Boolean,NSError>

A handler that receives an error and is run on the main thread when the processing is complete.

Applies to

SaveLivePhoto(PHContentEditingOutput, NSDictionary<NSString,NSObject>, Action<Boolean,NSError>)

Saves a Live Photo.

public virtual void SaveLivePhoto (Photos.PHContentEditingOutput output, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, Action<bool,Foundation.NSError> handler);
abstract member SaveLivePhoto : Photos.PHContentEditingOutput * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<bool, Foundation.NSError> -> unit
override this.SaveLivePhoto : Photos.PHContentEditingOutput * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<bool, Foundation.NSError> -> unit

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.

handler
Action<Boolean,NSError>

A handler that takes a bool and an error and is run when rendering completes.

Applies to

SaveLivePhoto(PHContentEditingOutput, PHLivePhotoEditingOption, Action<Boolean,NSError>)

Saves a Live Photo.

[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 SaveLivePhoto (Photos.PHContentEditingOutput output, Photos.PHLivePhotoEditingOption options, Action<bool,Foundation.NSError> handler);
member this.SaveLivePhoto : Photos.PHContentEditingOutput * Photos.PHLivePhotoEditingOption * Action<bool, Foundation.NSError> -> unit

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.

handler
Action<Boolean,NSError>

A handler that takes a bool and an error and is run when rendering completes.

Attributes

Applies to