MLKitDigitalInkRecognition Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
DigitalInkRecognizerOptions
class DigitalInkRecognizerOptions : NSObject
Options 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 initWithModel
instead.
-
Creates a DigitalInkRecognizerOptions
Declaration
Swift
init(model: MLKDigitalInkRecognitionModel)
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."],[[["DigitalInkRecognizerOptions define the behavior of a DigitalInkRecognizer, such as the recognition language and maximum number of results."],["The `model` property specifies the type of recognizer, determining factors like the recognition language."],["`maxResultCount` limits 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."]]],[]]