VisionServiceOptions
class VisionServiceOptions : NSObject, AZVisionObjectHandle
Defines static and runtime options for face analysis.
-
Authorization token.
Declaration
Swift
var authorizationToken: String? { get set }
-
The Advanced options and parameters.
Declaration
Swift
var advanced: VisionServiceAdvancedOptions { get }
-
Initializes an instance of the vision service options without specification, usually to provide token later.
Declaration
Swift
init() throws
Parameters
outError
error information.
Return Value
A vision service options instance.
-
Initializes an instance of the vision service options with specified endpoint.
Declaration
Swift
init(endpoint endpointUri: String) throws
Parameters
endpointUri
The service endpoint to connect to.
outError
error information.
Return Value
A vision service options instance.
-
Initializes an instance of the vision service options with specified endpoint and subscription key.
Declaration
Swift
init(endpoint endpointUri: String, subscription subscriptionKey: String) throws
Parameters
endpointUri
The service endpoint to connect to.
subscriptionKey
the subscription key.
outError
error information.
Return Value
A vision service options instance.