DigitalInkRecognitionModel

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

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

boolean
equals(Object arg0)
int
hashCode()
String
toString()
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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 ()