Returns the value of the given preference or null if there is no preference with the given key.
Syntax
public
Long
getLongPreference
(
String
key
) throws SDMPreferencesException
Parameters
-
key –
The key of the preference
Returns
the long type preference with the given key
Exceptions
-
SDMPreferencesException class –
if preference exists with the given key but with value of different type