|
| 1 | +public final class com/harrytmthy/safebox/SafeBox : android/content/SharedPreferences { |
| 2 | + public static final field Companion Lcom/harrytmthy/safebox/SafeBox$Companion; |
| 3 | + public synthetic fun <init> (Lcom/harrytmthy/safebox/engine/SafeBoxEngine;Lkotlin/jvm/internal/DefaultConstructorMarker;)V |
| 4 | + public fun contains (Ljava/lang/String;)Z |
| 5 | + public static final fun create (Landroid/content/Context;Ljava/lang/String;)Lcom/harrytmthy/safebox/SafeBox; |
| 6 | + public static final fun create (Landroid/content/Context;Ljava/lang/String;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lcom/harrytmthy/safebox/cryptography/CipherProvider;)Lcom/harrytmthy/safebox/SafeBox; |
| 7 | + public static final fun create (Landroid/content/Context;Ljava/lang/String;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lkotlinx/coroutines/CoroutineDispatcher;)Lcom/harrytmthy/safebox/SafeBox; |
| 8 | + public static final fun create (Landroid/content/Context;Ljava/lang/String;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;)Lcom/harrytmthy/safebox/SafeBox; |
| 9 | + public static final fun create (Landroid/content/Context;Ljava/lang/String;Lkotlinx/coroutines/CoroutineDispatcher;)Lcom/harrytmthy/safebox/SafeBox; |
| 10 | + public static final fun create (Landroid/content/Context;Ljava/lang/String;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;)Lcom/harrytmthy/safebox/SafeBox; |
| 11 | + public fun edit ()Landroid/content/SharedPreferences$Editor; |
| 12 | + public static final fun get (Ljava/lang/String;)Lcom/harrytmthy/safebox/SafeBox; |
| 13 | + public fun getAll ()Ljava/util/Map; |
| 14 | + public fun getBoolean (Ljava/lang/String;Z)Z |
| 15 | + public fun getFloat (Ljava/lang/String;F)F |
| 16 | + public fun getInt (Ljava/lang/String;I)I |
| 17 | + public fun getLong (Ljava/lang/String;J)J |
| 18 | + public static final fun getOrNull (Ljava/lang/String;)Lcom/harrytmthy/safebox/SafeBox; |
| 19 | + public fun getString (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
| 20 | + public fun getStringSet (Ljava/lang/String;Ljava/util/Set;)Ljava/util/Set; |
| 21 | + public fun registerOnSharedPreferenceChangeListener (Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V |
| 22 | + public final fun setCastFailureStrategy (Lcom/harrytmthy/safebox/strategy/ValueFallbackStrategy;)V |
| 23 | + public fun unregisterOnSharedPreferenceChangeListener (Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V |
| 24 | +} |
| 25 | + |
| 26 | +public final class com/harrytmthy/safebox/SafeBox$Companion { |
| 27 | + public final fun create (Landroid/content/Context;Ljava/lang/String;)Lcom/harrytmthy/safebox/SafeBox; |
| 28 | + public final fun create (Landroid/content/Context;Ljava/lang/String;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lcom/harrytmthy/safebox/cryptography/CipherProvider;)Lcom/harrytmthy/safebox/SafeBox; |
| 29 | + public final fun create (Landroid/content/Context;Ljava/lang/String;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lkotlinx/coroutines/CoroutineDispatcher;)Lcom/harrytmthy/safebox/SafeBox; |
| 30 | + public final fun create (Landroid/content/Context;Ljava/lang/String;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;)Lcom/harrytmthy/safebox/SafeBox; |
| 31 | + public final fun create (Landroid/content/Context;Ljava/lang/String;Lkotlinx/coroutines/CoroutineDispatcher;)Lcom/harrytmthy/safebox/SafeBox; |
| 32 | + public final fun create (Landroid/content/Context;Ljava/lang/String;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;)Lcom/harrytmthy/safebox/SafeBox; |
| 33 | + public static synthetic fun create$default (Lcom/harrytmthy/safebox/SafeBox$Companion;Landroid/content/Context;Ljava/lang/String;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lcom/harrytmthy/safebox/cryptography/CipherProvider;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;ILjava/lang/Object;)Lcom/harrytmthy/safebox/SafeBox; |
| 34 | + public static synthetic fun create$default (Lcom/harrytmthy/safebox/SafeBox$Companion;Landroid/content/Context;Ljava/lang/String;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;ILjava/lang/Object;)Lcom/harrytmthy/safebox/SafeBox; |
| 35 | + public final fun get (Ljava/lang/String;)Lcom/harrytmthy/safebox/SafeBox; |
| 36 | + public final fun getOrNull (Ljava/lang/String;)Lcom/harrytmthy/safebox/SafeBox; |
| 37 | +} |
| 38 | + |
| 39 | +public final class com/harrytmthy/safebox/migration/SafeBoxMigrationHelper { |
| 40 | + public static final field INSTANCE Lcom/harrytmthy/safebox/migration/SafeBoxMigrationHelper; |
| 41 | + public static final fun migrate (Landroid/content/SharedPreferences;Landroid/content/SharedPreferences;)V |
| 42 | + public static final fun migrate (Landroid/content/SharedPreferences;Landroid/content/SharedPreferences;Z)V |
| 43 | + public static synthetic fun migrate$default (Landroid/content/SharedPreferences;Landroid/content/SharedPreferences;ZILjava/lang/Object;)V |
| 44 | +} |
| 45 | + |
| 46 | +public final class com/harrytmthy/safebox/state/SafeBoxGlobalStateObserver { |
| 47 | + public static final field INSTANCE Lcom/harrytmthy/safebox/state/SafeBoxGlobalStateObserver; |
| 48 | + public static final fun addListener (Ljava/lang/String;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;)V |
| 49 | + public static final fun getCurrentState (Ljava/lang/String;)Lcom/harrytmthy/safebox/state/SafeBoxState; |
| 50 | + public static final fun removeListener (Ljava/lang/String;Lcom/harrytmthy/safebox/state/SafeBoxStateListener;)V |
| 51 | +} |
| 52 | + |
| 53 | +public final class com/harrytmthy/safebox/state/SafeBoxState : java/lang/Enum { |
| 54 | + public static final field IDLE Lcom/harrytmthy/safebox/state/SafeBoxState; |
| 55 | + public static final field STARTING Lcom/harrytmthy/safebox/state/SafeBoxState; |
| 56 | + public static final field WRITING Lcom/harrytmthy/safebox/state/SafeBoxState; |
| 57 | + public static fun getEntries ()Lkotlin/enums/EnumEntries; |
| 58 | + public static fun valueOf (Ljava/lang/String;)Lcom/harrytmthy/safebox/state/SafeBoxState; |
| 59 | + public static fun values ()[Lcom/harrytmthy/safebox/state/SafeBoxState; |
| 60 | +} |
| 61 | + |
| 62 | +public abstract interface class com/harrytmthy/safebox/state/SafeBoxStateListener { |
| 63 | + public abstract fun onStateChanged (Lcom/harrytmthy/safebox/state/SafeBoxState;)V |
| 64 | +} |
| 65 | + |
| 66 | +public final class com/harrytmthy/safebox/strategy/ValueFallbackStrategy : java/lang/Enum { |
| 67 | + public static final field ERROR Lcom/harrytmthy/safebox/strategy/ValueFallbackStrategy; |
| 68 | + public static final field WARN Lcom/harrytmthy/safebox/strategy/ValueFallbackStrategy; |
| 69 | + public static fun getEntries ()Lkotlin/enums/EnumEntries; |
| 70 | + public static fun valueOf (Ljava/lang/String;)Lcom/harrytmthy/safebox/strategy/ValueFallbackStrategy; |
| 71 | + public static fun values ()[Lcom/harrytmthy/safebox/strategy/ValueFallbackStrategy; |
| 72 | +} |
| 73 | + |
0 commit comments