Click or drag to resize
uLiveWallpaper
LiveWallpaperPreferences Class
Provides access to Android preferences.
Inheritance Hierarchy
SystemObject
  LostPolygon.uLiveWallpaperLiveWallpaperPreferences

Namespace:  LostPolygon.uLiveWallpaper
Syntax
C#
public static class Preferences

The LiveWallpaperPreferences type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeleteAll
Removes all keys and values from the preferences. Use with caution.
Public methodStatic memberDeleteKey
Removes a value from the preferences.
Public methodStatic memberFinishEditing
Closes the preference editing session and saves changes to storage.
Public methodStatic memberGetBool
Retrieves a value from the preferences.
Public methodStatic memberGetFloat
Retrieves a value from the preferences.
Public methodStatic memberGetInt
Retrieves a value from the preferences.
Public methodStatic memberGetLong
Retrieves a value from the preferences.
Public methodStatic memberGetString
Retrieves a value from the preferences.
Public methodStatic memberHasKey
Checks whether the preferences contains a preference.
Public methodStatic memberSetBool
Sets a preference value.
Public methodStatic memberSetFloat
Sets a preference value.
Public methodStatic memberSetInt
Sets a preference value.
Public methodStatic memberSetLong
Sets a preference value.
Public methodStatic memberSetString
Sets a preference value.
Public methodStatic memberStartEditing
Starts preference editing session.
Top
Remarks
Before editing any values, StartEditing must be called. You must call FinishEditing to submit the changes after you've finished editing, other your actions will have no effect.
See Also