Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

TextClassificationSessionId

class TextClassificationSessionId
kotlin.Any
   ↳ androidx.textclassifier.TextClassificationSessionId

This class represents the id of a text classification session.

Summary

Public methods

static TextClassificationSessionId
createFromBundle(@NonNull bundle: Bundle)

Extracts a TextClassificationSessionId from a bundle that was added using toBundle().

Boolean
equals(other: Any?)

Int

Bundle

Adds this Icon to a Bundle that can be read back with the same parameters to createFromBundle(Bundle).

String

Public methods

createFromBundle

@NonNull static fun createFromBundle(@NonNull bundle: Bundle): TextClassificationSessionId

Extracts a TextClassificationSessionId from a bundle that was added using toBundle().

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toBundle

@NonNull fun toBundle(): Bundle

Adds this Icon to a Bundle that can be read back with the same parameters to createFromBundle(Bundle).

toString

fun toString(): String