AI-generated Key Takeaways
-
Globally available type definitions provide structure for digital ink recognition data.
-
DigitalInkRecognizerCallbackis a type definition that handles the result of digital ink recognition using a block which receives aDigitalInkRecognitionResultobject or an error.
Type Definitions
The following type definitions are available globally.
-
A block that handles a digital ink recognition result.
Declaration
Swift
typealias DigitalInkRecognizerCallback = (MLKDigitalInkRecognitionResult?, Error?) -> VoidParameters
resultA
DigitalInkRecognitionResultcontaining a list of recognition candidates ornilif there’s an error.errorThe error or
nil.