Page Summary
-
DigitalInkRecognizerOptions define the behavior of a DigitalInkRecognizer, such as the recognition language and maximum number of results.
-
The
modelproperty specifies the type of recognizer, determining factors like the recognition language. -
maxResultCountlimits the number of recognition results returned, with a default of 10 and a minimum of 1. -
You create a DigitalInkRecognizerOptions instance using the
init(model:)initializer, providing the desired recognition model.
DigitalInkRecognizerOptions
class DigitalInkRecognizerOptions : NSObjectOptions defining the behavior of a DigitalInkRecognizer.
-
Model to be used for recognition.
Declaration
Swift
var model: MLKDigitalInkRecognitionModel { get } -
Maximum number of recognition results.
The recognizer will return at most this number of results. Default value is 10. Minimum value is 1.
Declaration
Swift
var maxResultCount: Int32 { get set } -
Unavailable, use
initWithModelinstead. -
Creates a
DigitalInkRecognizerOptionsDeclaration
Swift
init(model: MLKDigitalInkRecognitionModel)Parameters
modelType of recognizer. This is for example how the recognition language is specified. See
DigitalInkRecognitionModelfor details.