gsdsdk / com.gsd.software.sdk.sharedpreferences / PreferencesSource

PreferencesSource

class PreferencesSource :PreferencesData

Created by Maksim Shumko on 5/28/2020

Constructors

Name Summary
<init> PreferencesSource(context:Context, userRepository:UserRepository)
Created by Maksim Shumko on 5/28/2020

Functions

Name Summary
getSharedBoolean fun getSharedBoolean(key:String):Boolean
getSharedInt fun getSharedInt(key:String, default:Int):Int
getSharedLong fun getSharedLong(key:String, default:Long):Long
getSharedString fun getSharedString(key:String, default:String):String
saveSharedBoolean fun saveSharedBoolean(key:String, value:Boolean):Unit
saveSharedInt fun saveSharedInt(key:String, value:Int):Unit
saveSharedLong fun saveSharedLong(key:String, value:Long):Unit
saveSharedString fun saveSharedString(key:String, value:String):Unit