Page Summary
-
MLKDigitalInkRecognizerOptionsdefines the behavior of aDigitalInkRecognizer, including the model used and the maximum number of results. -
The
modelproperty specifies the type of recognizer, such as the language for recognition. -
maxResultCountdetermines the maximum number of recognition results returned, with a default of 10 and a minimum of 1. -
Instances of
MLKDigitalInkRecognizerOptionsshould be created usinginitWithModel, providing the desired recognition model.
MLKDigitalInkRecognizerOptions
@interface MLKDigitalInkRecognizerOptions : NSObjectOptions defining the behavior of a DigitalInkRecognizer.
-
Model to be used for recognition.
Declaration
Objective-C
@property (nonatomic, readonly) MLKDigitalInkRecognitionModel *_Nonnull model; -
Maximum number of recognition results.
The recognizer will return at most this number of results. Default value is 10. Minimum value is 1.
Declaration
Objective-C
@property (nonatomic) int maxResultCount; -
Unavailable, use
initWithModelinstead.Declaration
Objective-C
- (nonnull instancetype)init; -
Creates a
DigitalInkRecognizerOptionsDeclaration
Objective-C
- (nonnull instancetype)initWithModel: (nonnull MLKDigitalInkRecognitionModel *)model;Parameters
modelType of recognizer. This is for example how the recognition language is specified. See
DigitalInkRecognitionModelfor details.