PersistenceStorageGetString Method

Get string by key. If the key does not exist or the request fails, the default value will be returned. If called on the main thread, consider using GetStringAsync(String, String) instead.

Definition

Namespace: Alteruna.Trinity
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public string GetString(
	string key,
	string defaultValue = ""
)

Parameters

key  String
 
defaultValue  String  (Optional)
 

Return Value

String

See Also