TextClassificationSessionId
public
final
class
TextClassificationSessionId
extends Object
| java.lang.Object | |
| ↳ | androidx.textclassifier.TextClassificationSessionId |
This class represents the id of a text classification session.
Summary
Public methods | |
|---|---|
static
TextClassificationSessionId
|
createFromBundle(Bundle bundle)
Extracts a |
boolean
|
equals(Object obj)
|
int
|
hashCode()
|
Bundle
|
toBundle()
Adds this Icon to a Bundle that can be read back with the same parameters
to |
String
|
toString()
|
Inherited methods | |
|---|---|
Public methods
createFromBundle
public static TextClassificationSessionId createFromBundle (Bundle bundle)
Extracts a TextClassificationSessionId from a bundle that was added using
toBundle().
| Parameters | |
|---|---|
bundle |
Bundle |
| Returns | |
|---|---|
TextClassificationSessionId |
|
equals
public boolean equals (Object obj)
| Parameters | |
|---|---|
obj |
Object |
| Returns | |
|---|---|
boolean |
|
hashCode
public int hashCode ()
| Returns | |
|---|---|
int |
|
toBundle
public Bundle toBundle ()
Adds this Icon to a Bundle that can be read back with the same parameters
to createFromBundle(Bundle).
| Returns | |
|---|---|
Bundle |
|
toString
public String toString ()
| Returns | |
|---|---|
String |
|