putStringSet

open fun putStringSet(@NonNull key: String, @Nullable values: Set<String>)(source)

Sets a set of Strings to the data store.

Once the value is set the data store is responsible for holding it.

Parameters

key

The name of the preference to modify

values

The set of new values for the preference

See also