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