aerogear-xamarin-sdk
AeroGear Xamarin SDK
AeroGear.Mobile.Core.Utils.IOSUserPreferences Class Reference
Inheritance diagram for AeroGear.Mobile.Core.Utils.IOSUserPreferences:
AeroGear.Mobile.Core.Utils.AbstractUserPreferences AeroGear.Mobile.Core.Utils.IUserPreferences

Public Member Functions

 IOSUserPreferences ()
 
- Public Member Functions inherited from AeroGear.Mobile.Core.Utils.AbstractUserPreferences
string GetString (string key, string defaultValue=null)
 Returns the value associated with the provided key. defaultValue or if it does not exists. More...
 
void PutString (string key, string value)
 Adds a value to the user preferences store. More...
 
void RemoveValue (string key)
 Removes a value from the preferences store. More...
 

Protected Member Functions

override string doGetString (string key, string defaultValue=null)
 Returns the string associated with the given key. More...
 
override void doPutString (string key, string value)
 Adds a new key,value pair to the user preferences. More...
 
override void doRemoveValue (string key)
 Remove the value associated to the specific key from the user preferences. More...
 

Constructor & Destructor Documentation

◆ IOSUserPreferences()

AeroGear.Mobile.Core.Utils.IOSUserPreferences.IOSUserPreferences ( )

Member Function Documentation

◆ doGetString()

override string AeroGear.Mobile.Core.Utils.IOSUserPreferences.doGetString ( string  key,
string  defaultValue = null 
)
protectedvirtual

Returns the string associated with the given key.

Returns
The get string.
Parameters
keyKey.
defaultValueDefault value.

Implements AeroGear.Mobile.Core.Utils.AbstractUserPreferences.

◆ doPutString()

override void AeroGear.Mobile.Core.Utils.IOSUserPreferences.doPutString ( string  key,
string  value 
)
protectedvirtual

Adds a new key,value pair to the user preferences.

Parameters
keyKey.
valueValue.

Implements AeroGear.Mobile.Core.Utils.AbstractUserPreferences.

◆ doRemoveValue()

override void AeroGear.Mobile.Core.Utils.IOSUserPreferences.doRemoveValue ( string  key)
protectedvirtual

Remove the value associated to the specific key from the user preferences.

Parameters
keyKey.

Implements AeroGear.Mobile.Core.Utils.AbstractUserPreferences.


The documentation for this class was generated from the following file: