LanguagePrediction
class LanguagePrediction : NSObject
Undocumented
-
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
LanguagePrediction
with the given language code and probability.Declaration
Swift
init(languageCode: String, probability: Float)
Parameters
languageCode
The i18n language / locale code for the prediction.
probability
The probability for the prediction.
Return Value
An instance of
LanguagePrediction
initialized with the given language code and probability.