MLKitDigitalInkRecognition Framework Reference

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.