Synchronization
Class that provides caching and synchronization capabilities. Callers should use
MobileBackend's synchronization property.
- Source:
Methods
isOnline() → {Boolean}
Is online.
Gets device network status which is currently being used by Synchronization.
- Source:
Returns:
- Type
- Boolean
openEndpoint(apiName, endpointPath) → {MobileEndpoint}
Open endpoint.
Returns a MobileEndpoint that provides access
to an endpoint in a custom code API.
Parameters:
Name | Type | Description |
---|---|---|
apiName |
string | The name of the custom code API |
endpointPath |
string | The endpoint in the custom code API |
- Source:
Returns:
A MobileEndpoint object.
- Type
- MobileEndpoint
purge()
Purge cache.
Deletes all cached resources.
- Source: