AVMutableComposition.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Insert(CMTimeRange, AVAsset, CMTime, AVMutableCompositionInsertHandler) | |
| Insert(CMTimeRange, AVAsset, CMTime, NSError) |
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
- completionHandler
- AVMutableCompositionInsertHandler
- 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