Package 

Interface PreferencesControllerIf

    • Method Summary

      Modifier and Type Method Description
      abstract String getSharedValue(String key) Gets the value for the key.
      abstract Unit monitorSharedValue(String listener, String key) Request to monitor the key in the preferences for changesNote: Only 1 listener per key
      abstract Unit stopMonitoring() Stop listening for shared value changes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSharedValue

         abstract String getSharedValue(String key)

        Gets the value for the key. Returns a JSON formatted string in the following form:

        { "value":"" }

      • monitorSharedValue

         abstract Unit monitorSharedValue(String listener, String key)

        Request to monitor the key in the preferences for changes

        Note: Only 1 listener per key