getStringSet

fun getStringSet(key: String, defValues: Set<String>? = null): Set<String>?(source)

Retrieves a string set value from the preferences.

Parameters

key

the name of the preference to retrieve

defValues

value to return if this preference does not exist

Throws

if key wasn't specified as part of this migration