MLKitDigitalInkRecognition Framework Reference

DigitalInkRecognizerOptions

class DigitalInkRecognizerOptions : NSObject

Options defining the behavior of a DigitalInkRecognizer.

  • Model to be used for recognition.

    Declaration

    Swift

    var model: MLKDigitalInkRecognitionModel { get }
  • Maximum number of recognition results.

    The recognizer will return at most this number of results. Default value is 10. Minimum value is 1.

    Declaration

    Swift

    var maxResultCount: Int32 { get set }
  • Unavailable, use initWithModel instead.

  • Creates a DigitalInkRecognizerOptions

    Declaration

    Swift

    init(model: MLKDigitalInkRecognitionModel)

    Parameters

    model

    Type of recognizer. This is for example how the recognition language is specified. See DigitalInkRecognitionModel for details.