C# Class PerpetualEngine.Storage.DroidSimpleStorage

Inheritance: SimpleStorage
Exibir arquivo Open project: perpetual-mobile/SimpleStorage

Private Properties

Property Type Description

Public Methods

Method Description
Delete ( string key ) : void

Delete the specified key.

DroidSimpleStorage ( string groupName, Android.Content.Context context ) : Android.Content
Get ( string key ) : string

Retrieves value with given key.

Put ( string key, string value ) : void

Persists a value with given key.

Method Details

Delete() public method

Delete the specified key.
public Delete ( string key ) : void
key string
return void

DroidSimpleStorage() public method

public DroidSimpleStorage ( string groupName, Android.Content.Context context ) : Android.Content
groupName string
context Android.Content.Context
return Android.Content

Get() public method

Retrieves value with given key.
public Get ( string key ) : string
key string
return string

Put() public method

Persists a value with given key.
public Put ( string key, string value ) : void
key string Key
value string if value is null, the key will be deleted
return void