BlackBerry Dynamics for Xamarin Forms  11.0.1.26
Runtime library for Xamarin Forms applications
BBDXamarinForms.Droid.Interfaces.Wrappers.Types.ISharedPreferencesWrapper Interface Reference

Wrapper for native Android SharedPreferences interface. More...

Public Member Functions

bool Contains (string key)
 
ISharedPreferencesEditorWrapper Edit ()
 
int GetInt (string key, int defValue)
 
long GetLong (string key, long defValue)
 
float GetFloat (string key, float defValue)
 
bool GetBoolean (string key, bool defValue)
 
string GetString (string key, string defValue)
 
ICollection< string > GetStringSet (string key, ICollection< string > defValues)
 

Properties

IDictionary< string, object > All [get]
 

Events

EventHandler< BBDXamarinFormsSharedPreferencesChangedEventArgsSharedPreferencesChanged
 Fires when shared preferences changed. Thread safe, developer should handle it correctly. More...
 

Detailed Description

Wrapper for native Android SharedPreferences interface.

For full documentation go to Developer Android page.

Event Documentation

EventHandler<BBDXamarinFormsSharedPreferencesChangedEventArgs> BBDXamarinForms.Droid.Interfaces.Wrappers.Types.ISharedPreferencesWrapper.SharedPreferencesChanged

Fires when shared preferences changed. Thread safe, developer should handle it correctly.