-
-
Notifications
You must be signed in to change notification settings - Fork 159
Cloud APIs
dfabulich edited this page Nov 16, 2016
·
6 revisions
##APIs
-
file_nameString -
file_contentString -
success_callbackFunction() -
error_callbackFunction(err)
-
file_nameString -
success_callbackFunction(file_content)-
file_contentString: represents the content offile_namefile.
-
-
error_callbackFunction(err)
-
file_nameString -
success_callbackFunction() -
error_callbackFunction(err)
-
files_pathArray of String: The files' path on local machine. -
success_callbackFunction() -
error_callbackFunction(err)
Writes mutilple local files to Steam Cloud.
Returns a Boolean indicates whether cloud is enabled in general for the current Steam account.
Returns a Boolean indicates whether cloud is enabled for the current app. This might return true independently of greenworks.isCloudEnabledForUser(). Keep in mind that the general account setting has priority over the app specific setting. So you might want to check isCloudEnabledForUser() first.
-
flagBoolean
Enables/Disables the cloud feature for the current app. Keep in mind that your app won't sync anything to the user's cloud if he disabled it at top level (see greenworks.isCloudEnabledForUser()).
-
success_callbackFunction(total_bytes, available_bytes)-
total_bytesInteger: total bytes of quota -
available_bytesInteger: available bytes of quota
-
-
error_callbackFunction(err)