addToDictionary

actual suspend fun addToDictionary(word: String, scope: DictionaryScope)(source)

Adds word to the user dictionary. Subsequent spell checks will treat it as correctly spelled.

Parameters

scope

Controls persistence semantics. See DictionaryScope for details. Defaults to DictionaryScope.AppLocal for predictability across platforms.

expect suspend fun addToDictionary(word: String, scope: DictionaryScope = DictionaryScope.AppLocal)(source)

Adds word to the user dictionary. Subsequent spell checks will treat it as correctly spelled.

Parameters

scope

Controls persistence semantics. See DictionaryScope for details. Defaults to DictionaryScope.AppLocal for predictability across platforms.

actual suspend fun addToDictionary(word: String, scope: DictionaryScope)(source)

Adds word to the user dictionary. Subsequent spell checks will treat it as correctly spelled.

Parameters

scope

Controls persistence semantics. See DictionaryScope for details. Defaults to DictionaryScope.AppLocal for predictability across platforms.

actual suspend fun addToDictionary(word: String, scope: DictionaryScope)(source)

Adds word to the user dictionary. Subsequent spell checks will treat it as correctly spelled.

Parameters

scope

Controls persistence semantics. See DictionaryScope for details. Defaults to DictionaryScope.AppLocal for predictability across platforms.