getLong

fun getLong(key: String, defaultValue: Long): Long

Get a long from the preferences

Return

Value if found, else the defaultValue

Parameters

key

Key of the value

defaultValue

Default value