setIntPreference(String, int) method

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

Syntax

public void setIntPreference (
    String key,
    int value
) throws PreferencesException

Parameters

Exceptions