One Logo Pool Ball
Vision · IOS API REFERENCE

ImageRequestHandler

class · iOS 18.0+ · SDK 27.1

final class ImageRequestHandler

Members (6)

init · iOS 18.0+

init

TypeScript
static initOrientation(imageURL: string, orientation?: (_ImageIO_CGImagePropertyOrientation) | null): ImageRequestHandler
Swift declaration
convenience init(_ imageURL: URL, orientation: CGImagePropertyOrientation? = nil)
init · iOS 18.0+

init

TypeScript
static initOrientation72505(data: ArrayBuffer, orientation?: (_ImageIO_CGImagePropertyOrientation) | null): ImageRequestHandler
Swift declaration
convenience init(_ data: Data, orientation: CGImagePropertyOrientation? = nil)
init · iOS 18.0+

init

TypeScript
static initOrientation74092(image: _CoreGraphics_CGImage, orientation?: (_ImageIO_CGImagePropertyOrientation) | null): ImageRequestHandler
Swift declaration
convenience init(_ image: CGImage, orientation: CGImagePropertyOrientation? = nil)
init · iOS 18.0+

init

TypeScript
static initOrientation75182(image: _CoreImage_CIImage, orientation?: (_ImageIO_CGImagePropertyOrientation) | null): ImageRequestHandler
Swift declaration
convenience init(_ image: CIImage, orientation: CGImagePropertyOrientation? = nil)
init · iOS 18.0+

init

TypeScript
static initDepthDataOrientation(pixelBuffer: _CoreVideo_CVBuffer, depthData?: (_AVFoundation_AVDepthData) | null, orientation?: (_ImageIO_CGImagePropertyOrientation) | null): ImageRequestHandler
Swift declaration
convenience init(_ pixelBuffer: CVPixelBuffer, depthData: AVDepthData? = nil, orientation: CGImagePropertyOrientation? = nil)
init · iOS 18.0+

init

TypeScript
static initDepthDataOrientation47195(sampleBuffer: _CoreMedia_CMSampleBuffer, depthData?: (_AVFoundation_AVDepthData) | null, orientation?: (_ImageIO_CGImagePropertyOrientation) | null): ImageRequestHandler
Swift declaration
convenience init(_ sampleBuffer: CMSampleBuffer, depthData: AVDepthData? = nil, orientation: CGImagePropertyOrientation? = nil)

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ImageRequestHandler.perform(_:)

This declaration needs Swift generic type arguments. (no canonical witness for T)

ImageRequestHandler.perform(_:)

Swift parameter packs cannot cross the bridge.

ImageRequestHandler.performAll(_:)

This parameter hides a concrete Swift type.

All Vision types →