MLKitDigitalInkRecognition Framework Reference

  • MLKDigitalInkRecognizerCallback is 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 DigitalInkRecognitionResult or an error.

  • The DigitalInkRecognitionResult contains 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

    result

    A DigitalInkRecognitionResult containing a list of recognition candidates or nil if there’s an error.

    error

    The error or nil.