Page Summary
-
MLKDigitalInkRecognizerCallbackis a global type definition used in the Digital Ink Recognition API. -
It is a block that processes the results of digital ink recognition, providing a
DigitalInkRecognitionResultor an error. -
The
DigitalInkRecognitionResultcontains potential recognition candidates, while an error indicates a problem during the recognition process.
Type Definitions
The following type definitions are available globally.
-
A block that handles a digital ink recognition result.
Declaration
Objective-C
typedef void (^MLKDigitalInkRecognizerCallback)( MLKDigitalInkRecognitionResult *_Nullable, NSError *_Nullable)Parameters
resultA
DigitalInkRecognitionResultcontaining a list of recognition candidates ornilif there’s an error.errorThe error or
nil.