public class PreferoutinesExtrasKt
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
awaitEdits(android.content.SharedPreferences $receiver,
kotlin.jvm.functions.Function1<? super android.content.SharedPreferences.Editor,? extends android.content.SharedPreferences.Editor> edits,
kotlin.coroutines.Continuation<? super java.lang.Boolean> p) |
static java.lang.Object |
awaitNonNullString(android.content.SharedPreferences $receiver,
java.lang.String key,
java.lang.String defaultValue,
kotlin.coroutines.Continuation<? super java.lang.String> p) |
static java.lang.Object |
awaitNonNullStringSet(android.content.SharedPreferences $receiver,
java.lang.String key,
java.util.Set<java.lang.String> defaultValue,
kotlin.coroutines.Continuation<? super java.util.Set<java.lang.String>> p) |
static kotlinx.coroutines.flow.Flow<java.lang.String> |
getNonNullStringFlow(android.content.SharedPreferences $receiver,
java.lang.String key,
java.lang.String defaultValue) |
static kotlinx.coroutines.flow.Flow<java.util.Set> |
getNonNullStringSetFlow(android.content.SharedPreferences $receiver,
java.lang.String key,
java.util.Set<java.lang.String> defaultValue) |
@Nullable
public static java.lang.Object awaitNonNullString(@NotNull
android.content.SharedPreferences $receiver,
@NotNull
java.lang.String key,
@NotNull
java.lang.String defaultValue,
@NotNull
kotlin.coroutines.Continuation<? super java.lang.String> p)
@Nullable
public static java.lang.Object awaitNonNullStringSet(@NotNull
android.content.SharedPreferences $receiver,
@NotNull
java.lang.String key,
@NotNull
java.util.Set<java.lang.String> defaultValue,
@NotNull
kotlin.coroutines.Continuation<? super java.util.Set<java.lang.String>> p)
@FlowPreview
@NotNull
public static kotlinx.coroutines.flow.Flow<java.lang.String> getNonNullStringFlow(@NotNull
android.content.SharedPreferences $receiver,
@NotNull
java.lang.String key,
@NotNull
java.lang.String defaultValue)
@FlowPreview
@NotNull
public static kotlinx.coroutines.flow.Flow<java.util.Set> getNonNullStringSetFlow(@NotNull
android.content.SharedPreferences $receiver,
@NotNull
java.lang.String key,
@NotNull
java.util.Set<java.lang.String> defaultValue)
@Nullable
public static java.lang.Object awaitEdits(@NotNull
android.content.SharedPreferences $receiver,
@NotNull
kotlin.jvm.functions.Function1<? super android.content.SharedPreferences.Editor,? extends android.content.SharedPreferences.Editor> edits,
@NotNull
kotlin.coroutines.Continuation<? super java.lang.Boolean> p)