DigitalInkRecognitionModel
class DigitalInkRecognitionModel : RemoteModel
Represents a downloadable recognition model.
Recognition models are downloaded on the device when the download
method is called. The
downloaded model is unzipped when DigitalInkRecognizer
loads it at inference time for the
first time, which makes the first recognition a bit slower than subsequent ones.
This object contains properties that are constant throughout the lifetime of a recognition model.
See DigitalInkRecognitionContext
for the properties that depend on the ink being recognized.
-
Identifier of this recognition model.
Declaration
Swift
var modelIdentifier: DigitalInkRecognitionModelIdentifier { get }
-
Not available. Use
init(modelIdentifier:)
instead. -
Creates a new instance from the specified model identifier.
Declaration
Swift
init(modelIdentifier: DigitalInkRecognitionModelIdentifier)
Parameters
modelIdentifier
A valid
DigitalInkRecognitionModelIdentifier
.Return Value
A new
DigitalInkRecognitionModel
instance.