Packagecom.myflashlab.air.extensions.firebase.mlkit
Classpublic class LanguageIdentifier
InheritanceLanguageIdentifier Inheritance Object



Public Methods
 MethodDefined By
  
close():void
Closes the image labeler detector and release its model resources.
LanguageIdentifier
  
identifyLanguage($text:String, $callback:Function):void
LanguageIdentifier
  
identifyPossibleLanguages($text:String, $callback:Function):void
LanguageIdentifier
Method Detail
close()method
public function close():void

Closes the image labeler detector and release its model resources. To use it again, you must init again.

identifyLanguage()method 
public function identifyLanguage($text:String, $callback:Function):void

Parameters

$text:String
 
$callback:Function

identifyPossibleLanguages()method 
public function identifyPossibleLanguages($text:String, $callback:Function):void

Parameters

$text:String
 
$callback:Function