Share via


AVMutableComposition.Insert Method

Definition

Overloads

Insert(CMTimeRange, AVAsset, CMTime, AVMutableCompositionInsertHandler)

[Foundation.Export("insertTimeRange:ofAsset:atTime:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Insert(CoreMedia.CMTimeRange timeRange, AVFoundation.AVAsset asset, CoreMedia.CMTime startTime, AVFoundation.AVMutableCompositionInsertHandler completionHandler);
[<Foundation.Export("insertTimeRange:ofAsset:atTime:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Insert : CoreMedia.CMTimeRange * AVFoundation.AVAsset * CoreMedia.CMTime * AVFoundation.AVMutableCompositionInsertHandler -> unit
override this.Insert : CoreMedia.CMTimeRange * AVFoundation.AVAsset * CoreMedia.CMTime * AVFoundation.AVMutableCompositionInsertHandler -> unit

Parameters

timeRange
CMTimeRange
asset
AVAsset
startTime
CMTime
Attributes

Applies to

Insert(CMTimeRange, AVAsset, CMTime, NSError)

[Foundation.Export("insertTimeRange:ofAsset:atTime:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Insert(CoreMedia.CMTimeRange insertTimeRange, AVFoundation.AVAsset sourceAsset, CoreMedia.CMTime atTime, out Foundation.NSError error);
[<Foundation.Export("insertTimeRange:ofAsset:atTime:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Insert : CoreMedia.CMTimeRange * AVFoundation.AVAsset * CoreMedia.CMTime * NSError -> bool
override this.Insert : CoreMedia.CMTimeRange * AVFoundation.AVAsset * CoreMedia.CMTime * NSError -> bool

Parameters

insertTimeRange
CMTimeRange
sourceAsset
AVAsset
atTime
CMTime
error
NSError

Returns

Attributes

Applies to