LanguagePrediction
class LanguagePrediction : NSObjectUndocumented
-
The i18n language / locale code for the prediction.
Declaration
Swift
var languageCode: String { get } -
The probability for the prediction.
Declaration
Swift
var probability: Float { get } -
Initializes a new
LanguagePredictionwith the given language code and probability.Declaration
Swift
init(languageCode: String, probability: Float)Parameters
languageCodeThe i18n language / locale code for the prediction.
probabilityThe probability for the prediction.
Return Value
An instance of
LanguagePredictioninitialized with the given language code and probability.