class ExtrasUtils


Utilities for inserting/retrieving data into/from textclassifier related results and intents.

Summary

Public functions

java-static Locale?

Returns the highest scoring language found in the textclassifier extras in the intent.

Public functions

getTopLanguage

java-static fun getTopLanguage(intent: Intent?): Locale?

Returns the highest scoring language found in the textclassifier extras in the intent. This may return null if the data could not be found.

Parameters
intent: Intent?

the intent used to start the activity.

See also
getIntent