|
LiveWallpaperPreferencesGetString Method |
Retrieves a value from the preferences.
Namespace:
LostPolygon.uLiveWallpaperSyntax public static string GetString(
string key,
string defaultValue = ""
)
Parameters
- key
- Type: SystemString
Preference key. - defaultValue (Optional)
- Type: SystemString
Value to be returned if preference had no value, or on error.
Return Value
Type:
StringValue of the preference with key
key,
defaultValue if preference is not set, or on error.
See Also