Difference between revisions of "Gaming:resolveState"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2012.09<br/> | '''Available since:''' Gideros 2012.09<br/> | ||
=== Description === | === Description === | ||
− | Resolve a conflict state in cloud storage. Either | + | <translate>Resolve a conflict state in cloud storage. Either [[[Event.STATE_ERROR` or `Event.STATE_CONFLICT]]] will be triggered.</translate> |
<source lang="lua"> | <source lang="lua"> | ||
Gaming:resolveState(key,version,data) | Gaming:resolveState(key,version,data) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''key''': (number) Key to resolve <br/> | + | '''key''': (number) <translate>Key to resolve</translate> <br/> |
− | '''version''': (string) Conflict context <br/> | + | '''version''': (string) <translate>Conflict context</translate> <br/> |
− | '''data''': (string) New data <br/> | + | '''data''': (string) <translate>New data</translate> <br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2012.09
Description
Resolve a conflict state in cloud storage. Either [[[Event.STATE_ERROR` or `Event.STATE_CONFLICT]]] will be triggered.
Gaming:resolveState(key,version,data)
Parameters
key: (number) Key to resolve
version: (string) Conflict context
data: (string) New data