getLongPreference(String) method

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 PreferencesException

Parameters

Returns

the long type preference with the given key

Exceptions