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

Namespace:  LostPolygon.uLiveWallpaper
Syntax
C#
public static int GetInt(
	string key,
	int defaultValue = 0
)

Parameters

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

Return Value

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