One Logo Pool Ball
Vision · IOS API REFERENCE

VNVideoProcessor

class · iOS 14.0+ · SDK 27.1

class VNVideoProcessor

Members (7)

method · iOS 14.0+

addRequest

TypeScript
addRequest(request: VNRequest, processingOptions: VNVideoProcessor_RequestProcessingOptions): void
Swift declaration
func addRequest(_ request: VNRequest, processingOptions: VNVideoProcessor.RequestProcessingOptions) throws
method · iOS 14.0+ · Deprecated in iOS 14.0

add

TypeScript
add(request: VNRequest, processingOptions?: NativeMap<VNVideoProcessingOption, unknown>): void
Swift declaration
func add(_ request: VNRequest, withProcessingOptions processingOptions: [VNVideoProcessingOption : Any] = [:]) throws
method · iOS 14.0+

analyze

TypeScript
analyze(timeRange: _CoreMedia_CMTimeRange): void
Swift declaration
func analyze(_ timeRange: CMTimeRange) throws
method · iOS 14.0+ · Deprecated in iOS 14.0

analyze

TypeScript
analyzeWith(timeRange: _CoreMedia_CMTimeRange): void
Swift declaration
func analyze(with timeRange: CMTimeRange) throws
method · iOS 14.0+

cancel

TypeScript
cancel(): void
Swift declaration
func cancel()
init · iOS 14.0+

init

TypeScript
static init(videoURL: string): VNVideoProcessor
Swift declaration
init(url videoURL: URL)
method · iOS 14.0+

removeRequest

TypeScript
removeRequest(request: VNRequest): void
Swift declaration
func removeRequest(_ request: VNRequest) throws

Skipped declarations

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

VNVideoProcessor.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All Vision types →