Share via


AVAssetWriterInput.AddTrackAssociationWithTrackOfInput 方法

定义

将 的 input 轨道与正在 this写入的轨道相关联。

[Foundation.Export("addTrackAssociationWithTrackOfInput:type:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddTrackAssociationWithTrackOfInput (AVFoundation.AVAssetWriterInput input, Foundation.NSString trackAssociationType);
abstract member AddTrackAssociationWithTrackOfInput : AVFoundation.AVAssetWriterInput * Foundation.NSString -> unit
override this.AddTrackAssociationWithTrackOfInput : AVFoundation.AVAssetWriterInput * Foundation.NSString -> unit

参数

trackAssociationType
NSString
属性

注解

开始写入后,无法添加关联。

适用于