Synchronization
Class that provides caching and synchronization capabilities. Callers should use
MobileBackend's synchronization property.
Methods
isOnline() → {Boolean}
Gets device network status which is currently being used by Synchronization.
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 |
Returns:
A MobileEndpoint object.
- Type
- MobileEndpoint