resetPreference(String) method

Resets the preference's value to it's default value or to null if there is no default value for the given preference.

Syntax

public void resetPreference (String key)

Parameters