One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVDepthData

class · iOS 11.0+ · SDK 27.1

class AVDepthData

Members (12)

init · iOS 11.0+

init

TypeScript
static init(imageSourceAuxDataInfoDictionary: NativeMap<unknown, unknown>): AVDepthData
Swift declaration
convenience init(fromDictionaryRepresentation imageSourceAuxDataInfoDictionary: [AnyHashable : Any]) throws
method · iOS 11.0+

applyingExifOrientation

TypeScript
applyingExifOrientation(exifOrientation: _ImageIO_CGImagePropertyOrientation): AVDepthData
Swift declaration
func applyingExifOrientation(_ exifOrientation: CGImagePropertyOrientation) -> Self
method · iOS 11.0+

converting

TypeScript
converting(depthDataType: SDKHandle): AVDepthData
Swift declaration
func converting(toDepthDataType depthDataType: OSType) -> Self
method · iOS 11.0+

replacingDepthDataMap

TypeScript
replacingDepthDataMap(pixelBuffer: _CoreVideo_CVBuffer): AVDepthData
Swift declaration
func replacingDepthDataMap(with pixelBuffer: CVPixelBuffer) throws -> Self
method · iOS 11.0+

dictionaryRepresentation

TypeScript
dictionaryRepresentation(): { $ret: (NativeMap<unknown, unknown>) | null; $out: { "outAuxDataType": (_Foundation_NSString) | null } }
Swift declaration
func dictionaryRepresentation(forAuxiliaryDataType outAuxDataType: AutoreleasingUnsafeMutablePointer<NSString?>?) -> [AnyHashable : Any]?

Omit the output parameters from the call. The result contains $ret and $out, with outAuxDataType inside $out.

get · iOS 11.0+

cameraCalibrationData

TypeScript
get cameraCalibrationData(): (AVCameraCalibrationData) | null
Swift declaration
var cameraCalibrationData: AVCameraCalibrationData? { get }
get · iOS 11.0+

depthDataAccuracy

TypeScript
get depthDataAccuracy(): AVDepthData_Accuracy
Swift declaration
var depthDataAccuracy: AVDepthData.Accuracy { get }
get · iOS 11.0+

isDepthDataFiltered

TypeScript
get isDepthDataFiltered(): boolean
Swift declaration
var isDepthDataFiltered: Bool { get }
get · iOS 11.0+

depthDataMap

TypeScript
get depthDataMap(): _CoreVideo_CVBuffer
Swift declaration
var depthDataMap: CVPixelBuffer { get }
get · iOS 11.0+

depthDataQuality

TypeScript
get depthDataQuality(): AVDepthData_Quality
Swift declaration
var depthDataQuality: AVDepthData.Quality { get }
get · iOS 11.0+

depthDataType

TypeScript
get depthDataType(): SDKHandle
Swift declaration
var depthDataType: OSType { get }
get · iOS 11.0+

availableDepthDataTypes

TypeScript
get availableDepthDataTypes(): Array<SDKHandle>
Swift declaration
@nonobjc var availableDepthDataTypes: [OSType] { get }

Skipped declarations

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

AVDepthData.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All AVFoundation types →