MobileObjectSaveAsync Method (Boolean) |
Saves any changes to the object back to the service. If saveIfOffline is true, it will cache the changes incase of offline.
Namespace: Oracle.Cloud.Mobile.Synchronization.MobileEndpointAssemblies: Oracle.Cloud.Mobile.Synchronization.PCL (in Oracle.Cloud.Mobile.Synchronization.PCL.dll) Version: 16.1.3.1 (16.1.3.1)
Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntaxpublic Task SaveAsync(
bool saveIfOffline
)
Public Function SaveAsync (
saveIfOffline As Boolean
) As Task
public:
Task^ SaveAsync(
bool saveIfOffline
)
member SaveAsync :
saveIfOffline : bool -> Task
Parameters
- saveIfOffline
- Type: SystemBoolean
If true will cache updates locally and sync them back to the service if the device is offline, if false will fail if the device is offline.
Return Value
Type:
TaskAn awaitable object.
See Also