Protocol

VNRequestRevisionProviding

A protocol for specifying revision number.

Declaration

protocol VNRequestRevisionProviding

Overview

Subclasses of VNRequest should adopt this protocol to specify which revision of the Vision framework was used to generate requests.

Topics

Specifying Revision Number

var requestRevision: Int

The revision of the VNRequest subclass used to generate the implementing object.

Required.

Relationships

Conforming Types

See Also

Revision Specification

let VNRequestRevisionUnspecified: Int

A constant enumerating the case where a VNRequest revision has not been specified.

let VNTrackObjectRequestRevision1: Int

A constant for specifying revision 1 of VNTrackObjectRequest.

let VNCoreMLRequestRevision1: Int

A constant for specifying revision 1 of VNCoreMLRequest.