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