DigitalInkRecognitionModel

Stay organized with collections Save and categorize content based on your preferences.
public class DigitalInkRecognitionModel extends RemoteModel

Represents a downloadable recognition model.

Recognition models are downloaded on the device when needed.

This object contains properties that are constant throughout the lifetime of a recognition model.

See RecognitionContext for the properties that depend on the ink being recognized.

Nested Class Summary

class DigitalInkRecognitionModel.Builder Builder for the DigitalInkRecognitionModel class. 

Public Method Summary

static DigitalInkRecognitionModel.Builder
builder(DigitalInkRecognitionModelIdentifier modelIdentifier)
Returns a new builder of DigitalInkRecognitionModel, specifying the model identifier.
boolean
DigitalInkRecognitionModelIdentifier
getModelIdentifier()
Returns the model identifier this object is associated with.
int

Inherited Method Summary

Public Methods

public static DigitalInkRecognitionModel.Builder builder (DigitalInkRecognitionModelIdentifier modelIdentifier)

Returns a new builder of DigitalInkRecognitionModel, specifying the model identifier.

Example:

  • DigitalInkRecognitionModelIdentifier.AUTODRAW for Autodraw shape classification
  • DigitalInkRecognitionModelIdentifier.GU for Gujarati

See DigitalInkRecognitionModelIdentifier for the full list.

public boolean equals (Object o)

public DigitalInkRecognitionModelIdentifier getModelIdentifier ()

Returns the model identifier this object is associated with.

public int hashCode ()