PlatformContextInterface

public class PlatformContextInterface

Contains those objects meant for internal usage only. Not to be exposed to third-parties.

Methods

GetLocalizedString

public String GetLocalizedString(LocalizedStringEnum key)

Get the localized string based on the device language

GetStoredValue

public String GetStoredValue(String key)

Returns the value that was stored under the given key, or empty if not stored.

HasStoredValue

public boolean HasStoredValue(String key)

Returns true if the value is stored, or false if not.

RemoveStoredValue

public void RemoveStoredValue(String key)

Removes a key and its value

SetInstanceId

public void SetInstanceId(String key)

Set the isntance id for looking up storage for this instance

StoreValue

public void StoreValue(String key, String value)

Stores a value under the given key.