Click or drag to resize
uLiveWallpaper
LiveWallpaperPreferencesGetBool Method
Retrieves a value from the preferences.

Namespace:  LostPolygon.uLiveWallpaper
Syntax
C#
public static bool GetBool(
	string key,
	bool defaultValue = false
)

Parameters

key
Type: SystemString
Preference key.
defaultValue (Optional)
Type: SystemBoolean
Value to be returned if preference had no value, or on error.

Return Value

Type: Boolean
Value of the preference with key key, defaultValue if preference is not set, or on error.
See Also