setLongPreference(String, long) method

Sets and validates and persists the value of the preferences with the given type.

Syntax

public void setLongPreference (
    String key,
    long value
) throws SDMPreferencesException

Parameters

Exceptions