FacialRecognitionInitializationModel
A base class containing details specific to loading a model
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Public variables
Name
Type
Description
Public methods
Signature
Return Type
Description
Void
Encodes the model using the encoder provided. Used to convert the model to JSON.
Public variables
identifier
@objc final public var identifier: String { get }
The unique identifier of the model that was loaded.
timeTakenMilliseconds
@objc final public var timeTakenMilliseconds: Float { get }
The time it took to load the model, in milliseconds.
modelDownloaded
@objc final public var modelDownloaded: Bool { get }
Indicates whether the model was downloaded or loaded locally.
True
if the model was downloaded from the Sybrin cloud. False
if the model was loaded locally from the device.
Public methods
encode(to encoder: Encoder)
final public func encode(to encoder: Encoder) throws
Encodes the model using the encoder provided. Used to convert the model to JSON.
Where this is used
Last updated