PHLivePhotoEditingContext.SaveLivePhoto 方法

定义

重载

SaveLivePhoto(PHContentEditingOutput, Action<Boolean,NSError>)

保存实时照片。

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

保存实时照片。

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

保存实时照片。

SaveLivePhoto(PHContentEditingOutput, Action<Boolean,NSError>)

保存实时照片。

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

参数

output
PHContentEditingOutput

将接收实时照片数据的输出。

handler
Action<Boolean,NSError>

一个处理程序,它接收错误,并在处理完成后在主线程上运行。

适用于

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

保存实时照片。

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

参数

output
PHContentEditingOutput

要保存照片的照片编辑输出。

options
NSDictionary<NSString,NSObject>

要使用的实时照片处理选项(如果有)。

此参数可以为 null

handler
Action<Boolean,NSError>

一个处理程序,它接受 bool 和 错误,并在呈现完成时运行。

适用于

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

保存实时照片。

[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

参数

output
PHContentEditingOutput

要保存照片的照片编辑输出。

options
PHLivePhotoEditingOption

要使用的实时照片处理选项(如果有)。

此参数可以为 null

handler
Action<Boolean,NSError>

一个处理程序,它接受 bool 和 错误,并在呈现完成时运行。

属性

适用于