# Class LanguageIdentifier

java.lang.Object
com.codename1.ai.language.LanguageIdentifier

public final class LanguageIdentifier extends Object
On-device language identification.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static AsyncResource<LanguageCandidate[]>`
  `identify(String text, LanguageOptions options)`
  `static boolean`
  `isSupported()`
  `static boolean`
  `isSupported(LanguageOptions options)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### isSupported

    public static boolean isSupported()

  - ### isSupported

    public static boolean isSupported(LanguageOptions options)

  - ### identify

    public static AsyncResource<LanguageCandidate[]> identify(String text, LanguageOptions options)