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

PreferencesData

interface PreferencesData

Created by Maksim Shumko on 2/15/2019.

Functions

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

Inheritors

Name Summary
PreferencesSource class PreferencesSource :PreferencesData
Created by Maksim Shumko on 5/28/2020