CloudOnce v2.7.5
Unified Game Services API
CloudOnce.Internal.iCloudBridge Class Reference

Provides a bridge between C# code and the CloudOnceSave iOS plug-in. More...

Public Member Functions

delegate void ExternalChangeCallback (KvStoreChangeReason reason, string devString)
 

Static Public Member Functions

static bool SetString (string key, string value)
 Stores a string in iCloud. More...
 
static string GetString (string key)
 Gets a string from iCloud. More...
 
static bool DeleteString (string key)
 Deletes a string from iCloud. More...
 

Properties

static ExternalChangeCallback OnExternalChange [get, set]
 

Detailed Description

Provides a bridge between C# code and the CloudOnceSave iOS plug-in.

Member Function Documentation

◆ DeleteString()

static bool CloudOnce.Internal.iCloudBridge.DeleteString ( string  key)
inlinestatic

Deletes a string from iCloud.

Parameters
keyThe unique identifier for the string.
Returns
Returns true if the string was successfully deleted from iCloud, false if any problems happened.

◆ GetString()

static string CloudOnce.Internal.iCloudBridge.GetString ( string  key)
inlinestatic

Gets a string from iCloud.

Parameters
keyThe unique identifier for the string.
Returns
The string associated with the specified key.

◆ SetString()

static bool CloudOnce.Internal.iCloudBridge.SetString ( string  key,
string  value 
)
inlinestatic

Stores a string in iCloud.

Parameters
keyThe unique identifier for this string.
valueThe string to store in iCloud.
Returns
Returns true if the string was successfully saved to iCloud, false if any problems happened.

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