MLKitDigitalInkRecognition Framework Reference

  • Globally available type definitions provide structure for digital ink recognition data.

  • DigitalInkRecognizerCallback is a type definition that handles the result of digital ink recognition using a block which receives a DigitalInkRecognitionResult object 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?) -> Void

    Parameters

    result

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

    error

    The error or nil.