Interface PreferenceScope

  • All Known Implementing Classes:
    PreferenceScopeImpl

    public interface PreferenceScope
    The pair (type, key) represents a unique preference scope, which groups a set of preferences and its values.
    • Method Detail

      • type

        String type()
        Returns:
        Type of the preference scope. Represents a unique category of scopes.
      • key

        String key()
        Returns:
        Key of the preference scope. Represents a unique key inside a scope type.
      • childScope

        PreferenceScope childScope()
        Child scope, a scope inside a scope. This allows a hierarchy inside each scope.
        Returns:
        Child scope. This can be null, indicating the end of the hierarchy.