AVAssetWriter.FinishWriting 方法

定义

重载

FinishWriting()

开发人员不应使用此已弃用的方法。 开发人员应改用异步的“FinishWriting (NSAction completionHandler) ”。

FinishWriting(Action)

将一切标记为已完成并运行 completionHandler

FinishWriting()

开发人员不应使用此已弃用的方法。 开发人员应改用异步的“FinishWriting (NSAction completionHandler) ”。

[Foundation.Export("finishWriting")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.None, "Use the asynchronous 'FinishWriting (NSAction completionHandler)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, "Use the asynchronous 'FinishWriting (NSAction completionHandler)' instead.")]
public virtual bool FinishWriting ();
[Foundation.Export("finishWriting")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use the asynchronous 'FinishWriting (NSAction completionHandler)' instead.")]
public virtual bool FinishWriting ();
abstract member FinishWriting : unit -> bool
override this.FinishWriting : unit -> bool

返回

属性

适用于

FinishWriting(Action)

将一切标记为已完成并运行 completionHandler

[Foundation.Export("finishWritingWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void FinishWriting (Action completionHandler);
abstract member FinishWriting : Action -> unit
override this.FinishWriting : Action -> unit

参数

completionHandler
Action
属性

适用于