C# Class KNFoundation.KNUserDefaults

Show file Open project: bt-browser/KNFoundation

Public Methods

Method Description
BoolForKey ( string key ) : bool
Clear ( ) : void
DoubleForKey ( string key ) : double
IntegerForKey ( string key ) : int
ObjectForKey ( string key ) : object
SetBoolForKey ( bool value, string key ) : void
SetDoubleForKey ( double value, string key ) : void
SetIntegerForKey ( int value, string key ) : void
SetObjectForKey ( object obj, string key ) : void
SetStringForKey ( string value, string key ) : void
SetValueForKey ( Object value, String key ) : void
StandardUserDefaults ( ) : KNUserDefaults
StringForKey ( string key ) : string
Synchronise ( ) : void
UserDefaultsForDomain ( string domain ) : KNUserDefaults
ValueForKey ( String key ) : Object

Private Methods

Method Description
KNUserDefaults ( string domain ) : System

Method Details

BoolForKey() public method

public BoolForKey ( string key ) : bool
key string
return bool

Clear() public method

public Clear ( ) : void
return void

DoubleForKey() public method

public DoubleForKey ( string key ) : double
key string
return double

IntegerForKey() public method

public IntegerForKey ( string key ) : int
key string
return int

ObjectForKey() public method

public ObjectForKey ( string key ) : object
key string
return object

SetBoolForKey() public method

public SetBoolForKey ( bool value, string key ) : void
value bool
key string
return void

SetDoubleForKey() public method

public SetDoubleForKey ( double value, string key ) : void
value double
key string
return void

SetIntegerForKey() public method

public SetIntegerForKey ( int value, string key ) : void
value int
key string
return void

SetObjectForKey() public method

public SetObjectForKey ( object obj, string key ) : void
obj object
key string
return void

SetStringForKey() public method

public SetStringForKey ( string value, string key ) : void
value string
key string
return void

SetValueForKey() public method

public SetValueForKey ( Object value, String key ) : void
value Object
key String
return void

StandardUserDefaults() public static method

public static StandardUserDefaults ( ) : KNUserDefaults
return KNUserDefaults

StringForKey() public method

public StringForKey ( string key ) : string
key string
return string

Synchronise() public method

public Synchronise ( ) : void
return void

UserDefaultsForDomain() public static method

public static UserDefaultsForDomain ( string domain ) : KNUserDefaults
domain string
return KNUserDefaults

ValueForKey() public method

public ValueForKey ( String key ) : Object
key String
return Object