cancelAllCGImageGeneration
TypeScriptcancelAllCGImageGeneration(): voidSwift declarationfunc cancelAllCGImageGeneration()class · iOS 4.0+ · SDK 27.1
class AVAssetImageGeneratorcancelAllCGImageGeneration(): voidSwift declarationfunc cancelAllCGImageGeneration()copyCGImage(requestedTime: _CoreMedia_CMTime, actualTime?: (SDKHandle) | null): _CoreGraphics_CGImageSwift declarationfunc copyCGImage(at requestedTime: CMTime, actualTime: UnsafeMutablePointer<CMTime>?) throws -> CGImagegenerateCGImageAsynchronously(requestedTime: _CoreMedia_CMTime, handler: ((arg0: (_CoreGraphics_CGImage) | null, arg1: _CoreMedia_CMTime, arg2: (NativeError) | null) => void)): voidSwift declarationfunc generateCGImageAsynchronously(for requestedTime: CMTime, completionHandler handler: @escaping @Sendable (CGImage?, CMTime, (any Error)?) -> Void)generateCGImagesAsynchronously(requestedTimes: Array<_Foundation_NSValue>, handler: ((arg0: _CoreMedia_CMTime, arg1: (_CoreGraphics_CGImage) | null, arg2: _CoreMedia_CMTime, arg3: AVAssetImageGenerator_Result, arg4: (NativeError) | null) => void)): voidSwift declarationfunc generateCGImagesAsynchronously(forTimes requestedTimes: [NSValue], completionHandler handler: @escaping AVAssetImageGeneratorCompletionHandler)static init(asset: AVAsset): AVAssetImageGeneratorSwift declarationinit(asset: AVAsset)get apertureMode(): (AVAssetImageGenerator_ApertureMode) | nullSwift declarationvar apertureMode: AVAssetImageGenerator.ApertureMode? { get set }set apertureMode(value: (AVAssetImageGenerator_ApertureMode) | null)Swift declarationvar apertureMode: AVAssetImageGenerator.ApertureMode? { get set }get appliesPreferredTrackTransform(): booleanSwift declarationvar appliesPreferredTrackTransform: Bool { get set }set appliesPreferredTrackTransform(value: boolean)Swift declarationvar appliesPreferredTrackTransform: Bool { get set }get asset(): AVAssetSwift declarationvar asset: AVAsset { get }get customVideoCompositor(): (SDKHandle) | nullSwift declarationvar customVideoCompositor: (any AVVideoCompositing)? { get }get dynamicRangePolicy(): AVAssetImageGenerator_DynamicRangePolicySwift declarationvar dynamicRangePolicy: AVAssetImageGenerator.DynamicRangePolicy { get set }set dynamicRangePolicy(value: AVAssetImageGenerator_DynamicRangePolicy)Swift declarationvar dynamicRangePolicy: AVAssetImageGenerator.DynamicRangePolicy { get set }get maximumSize(): { width: number; height: number }Swift declarationvar maximumSize: CGSize { get set }set maximumSize(value: { width: number; height: number })Swift declarationvar maximumSize: CGSize { get set }get requestedTimeToleranceAfter(): _CoreMedia_CMTimeSwift declarationvar requestedTimeToleranceAfter: CMTime { get set }set requestedTimeToleranceAfter(value: _CoreMedia_CMTime)Swift declarationvar requestedTimeToleranceAfter: CMTime { get set }get requestedTimeToleranceBefore(): _CoreMedia_CMTimeSwift declarationvar requestedTimeToleranceBefore: CMTime { get set }set requestedTimeToleranceBefore(value: _CoreMedia_CMTime)Swift declarationvar requestedTimeToleranceBefore: CMTime { get set }get videoComposition(): (AVVideoComposition) | nullSwift declaration@NSCopying var videoComposition: AVVideoComposition? { get set }set videoComposition(value: (AVVideoComposition) | null)Swift declaration@NSCopying var videoComposition: AVVideoComposition? { get set }image(time: _CoreMedia_CMTime): Promise<{ "image": _CoreGraphics_CGImage; "actualTime": _CoreMedia_CMTime }>Swift declarationfunc image(at time: CMTime) async throws -> (image: CGImage, actualTime: CMTime)Creates an image object for an asset at or near specified the time. - Parameter time: The time at which the image of the asset is to be created. - Returns: A tuple containing the image object as a CGImage, and the time at which the image was actually generated as a CMTime.
images(times: Array<_CoreMedia_CMTime>): AVAssetImageGenerator_ImagesSwift declarationfunc images(for times: [CMTime]) -> sending AVAssetImageGenerator.ImagesCreates a series of image objects for an asset at or near specified times. - Parameter times: An array of times at which the images of the asset are to be created. - Returns: The generated images or errors for each time, as an asynchronous sequence of Results.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVAssetImageGenerator.init()
inherited init: cannot prove legal (class declares 1 custom initializer)