long

fun ISharedPreferencesOwner.long(defaultValue: Long = 0, commit: Boolean = false): SharedPreferencesProperty<Long>

Save or set a long value into SharedPreferences.

Since

0.5.6

Parameters

defaultValue

The defaultValue to return if this preference does not exist