TranslatorOptions

  • TranslatorOptions provides configuration settings for the Translator class in ML Kit.

  • It includes a nested Builder class for creating TranslatorOptions instances.

  • equals() and hashCode() methods are available for object comparison and hashing.

  • It inherits standard methods from the java.lang.Object class like clone(), getClass(), and others.

public class TranslatorOptions extends Object

Options for Translator.

Nested Class Summary

class TranslatorOptions.Builder Builder to create a TranslatorOptions instance. 

Public Method Summary

boolean
equals(Object o)
Indicates whether some other object is "equal to" this one.
int
hashCode()
Returns a hash code value for the object.

Inherited Method Summary

Public Methods

public boolean equals (Object o)

Indicates whether some other object is "equal to" this one.

public int hashCode ()

Returns a hash code value for the object.