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