MLKitDigitalInkRecognition Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
MLKDigitalInkRecognizerOptions
@interface MLKDigitalInkRecognizerOptions : NSObject
Options defining the behavior of a DigitalInkRecognizer
.
-
Model to be used for recognition.
-
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 initWithModel
instead.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Creates a DigitalInkRecognizerOptions
Parameters
model
|
Type of recognizer. This is for example how the recognition language is specified.
See DigitalInkRecognitionModel for details.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["`MLKDigitalInkRecognizerOptions` defines the behavior of a `DigitalInkRecognizer`, including the model used and the maximum number of results."],["The `model` property specifies the type of recognizer, such as the language for recognition."],["`maxResultCount` determines the maximum number of recognition results returned, with a default of 10 and a minimum of 1."],["Instances of `MLKDigitalInkRecognizerOptions` should be created using `initWithModel`, providing the desired recognition model."]]],["The `MLKDigitalInkRecognizerOptions` class defines settings for a `DigitalInkRecognizer`. Key properties include: `model`, which specifies the recognition model (e.g., language), and `maxResultCount`, controlling the maximum number of recognition results returned (default 10, minimum 1). The class also provides `initWithModel` for creating an instance, setting the recognition type using `DigitalInkRecognitionModel` and `init` which is unavailable.\n"]]