PHLivePhotoEditingContext.PrepareLivePhotoForPlayback 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PrepareLivePhotoForPlayback(CGSize, Action<PHLivePhoto,NSError>)
準備已編輯的即時相片以進行播放。
public void PrepareLivePhotoForPlayback (CoreGraphics.CGSize targetSize, Action<Photos.PHLivePhoto,Foundation.NSError> handler);
member this.PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
參數
- targetSize
- CGSize
要設為目標的輸出檢視大小。
- handler
- Action<PHLivePhoto,NSError>
接受即時相片和錯誤的處理常式,並在處理完成時在主執行緒上執行。
適用於
PrepareLivePhotoForPlayback(CGSize, NSDictionary<NSString,NSObject>, Action<PHLivePhoto,NSError>)
準備已編輯的即時相片以進行播放。
public virtual void PrepareLivePhotoForPlayback (CoreGraphics.CGSize targetSize, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, Action<Photos.PHLivePhoto,Foundation.NSError> handler);
abstract member PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
override this.PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
參數
- targetSize
- CGSize
要設為目標的輸出檢視大小。
- handler
- Action<PHLivePhoto,NSError>
接受即時相片和錯誤的處理常式,並在處理完成時在主執行緒上執行。
適用於
PrepareLivePhotoForPlayback(CGSize, PHLivePhotoEditingOption, Action<PHLivePhoto,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 PrepareLivePhotoForPlayback (CoreGraphics.CGSize targetSize, Photos.PHLivePhotoEditingOption options, Action<Photos.PHLivePhoto,Foundation.NSError> handler);
member this.PrepareLivePhotoForPlayback : CoreGraphics.CGSize * Photos.PHLivePhotoEditingOption * Action<Photos.PHLivePhoto, Foundation.NSError> -> unit
參數
- targetSize
- CGSize
要設為目標的輸出檢視大小。
- handler
- Action<PHLivePhoto,NSError>
接受即時相片和錯誤的處理常式,並在處理完成時在主執行緒上執行。
- 屬性