共用方式為


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
屬性

備註

開始寫入之後,就無法新增關聯。

適用於