currentRevision
TypeScriptstatic get currentRevision(): numberSwift declarationclass var currentRevision: Int { get }class · iOS 11.0+ · SDK 27.1
class VNRequeststatic get currentRevision(): numberSwift declarationclass var currentRevision: Int { get }static get defaultRevision(): numberSwift declarationclass var defaultRevision: Int { get }static get supportedRevisions(): _Foundation_IndexSetSwift declarationclass var supportedRevisions: IndexSet { get }cancel(): voidSwift declarationfunc cancel()static init(): VNRequestSwift declarationconvenience init()static initCompletionHandler(completionHandler?: (((arg0: VNRequest, arg1: (NativeError) | null) => void)) | null): VNRequestSwift declarationinit(completionHandler: VNRequestCompletionHandler? = nil)get completionHandler(): (((arg0: VNRequest, arg1: (NativeError) | null) => Promise<void>)) | nullSwift declarationvar completionHandler: VNRequestCompletionHandler? { get }get preferBackgroundProcessing(): booleanSwift declarationvar preferBackgroundProcessing: Bool { get set }set preferBackgroundProcessing(value: boolean)Swift declarationvar preferBackgroundProcessing: Bool { get set }get results(): (Array<VNObservation>) | nullSwift declarationvar results: [VNObservation]? { get }get revision(): numberSwift declarationvar revision: Int { get set }set revision(value: number)Swift declarationvar revision: Int { get set }get usesCPUOnly(): booleanSwift declarationvar usesCPUOnly: Bool { get set }set usesCPUOnly(value: boolean)Swift declarationvar usesCPUOnly: Bool { get set }computeDevice(computeStage: VNComputeStage): (_CoreML_MLComputeDevice) | nullSwift declaration@nonobjc func computeDevice(for computeStage: VNComputeStage) -> MLComputeDevice?setComputeDevice(computeDevice: (_CoreML_MLComputeDevice) | null, computeStage: VNComputeStage): voidSwift declaration@nonobjc func setComputeDevice(_ computeDevice: MLComputeDevice?, for computeStage: VNComputeStage)get supportedComputeStageDevices(): NativeMap<VNComputeStage, Array<_CoreML_MLComputeDevice>>Swift declaration@nonobjc var supportedComputeStageDevices: [VNComputeStage : [MLComputeDevice]] { get throws }No declarations were skipped in this snapshot.