共用方式為


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 和 錯誤的處理常式,並在轉譯完成時執行。

屬性

適用於