LanguageDetectorResult
class LanguageDetectorResult : TaskResult
Represents the results generated by LanguageDetector
. *
-
A list of language predictions.
Declaration
Swift
var languagePredictions: [LanguagePrediction] { get }
-
Initializes a new
LanguageDetectorResult
with the given array of language predictions and timestamp (in milliseconds).Declaration
Swift
init(languagePredictions: [LanguagePrediction], timestampInMilliseconds: Int)
Parameters
languagePrediction
The array of language predictions in this result.
timestampInMilliseconds
The timestamp (in milliseconds) for this result.
Return Value
An instance of
LanguageDetectorResult
initialized with the given array of language predictions and timestamp (in milliseconds). -
Undocumented
-
Undocumented
-
Undocumented