MLKitDigitalInkRecognition Framework Reference

MLKDigitalInkRecognizerOptions


@interface MLKDigitalInkRecognizerOptions : NSObject

Options defining the behavior of a MLKDigitalInkRecognizer.

  • Model to be used for recognition.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MLKDigitalInkRecognitionModel *_Nonnull model;
  • Maximum number of recognition results.

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

    Declaration

    Objective-C

    @property (nonatomic) int maxResultCount;
  • Unavailable, use initWithModel instead.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Creates a MLKDigitalInkRecognizerOptions

    Declaration

    Objective-C

    - (nonnull instancetype)initWithModel:
        (nonnull MLKDigitalInkRecognitionModel *)model;

    Parameters

    model

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