Synchronization Class |
Namespace: Oracle.Cloud.Mobile.Synchronization
The Synchronization type exposes the following members.
Name | Description | |
---|---|---|
![]() | Synchronization |
Internal constructor not meant for public callers.
|
Name | Description | |
---|---|---|
![]() | Backend |
The Mobile Backend that this Service Proxy is associated with.
(Inherited from ServiceProxy.) |
![]() | CacheHitCount |
The number of cache hits during the current app lifetime.
|
![]() | CacheMissCount |
The number of cache misses during the current app lifetime.
|
Name | Description | |
---|---|---|
![]() | CreateHttpFilter |
Creates a new instance of IHttpFilter with default SyncPolicy, that callers can use with an HttpClient object of enabling caching and Synchronization capabilities.
The Sync filter should always be the last filter in the chain. It will automatically use the Diagnostics and Authorization protocol filters so callers shouldn't add
those to the chain.
|
![]() | CreateHttpFilter(SyncPolicy) |
Creates a new instance of IHttpFilter that callers can use with an HttpClient object for enabling caching and Synchronization capabilities.
The Sync filter should always be the last filter in the chain.
|
![]() | CreateHttpHandler |
Creates a new instance of HttpMessageHandler with default SyncPolicy, that callers can use with an HttpClient object of enabling caching and Synchronization capabilities.
The Sync handler is non-delegating and the last in the chain. It will automatically use the Diagnostics and Authorization handlers so callers shouldn't add
those to the chain.
|
![]() | CreateHttpHandler(SyncPolicy) |
Creates a new instance of HttpMessageHandler that callers can use with an HttpClient object of enabling caching and Synchronization capabilities.
The Sync handler is non-delegating and the last in the chain. It will automatically use the Diagnostics and Authorization handlers so callers shouldn't add
those to the chain.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | EvictResourceAsync |
Evicts a cached resource for a given uri.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LoadOfflineResourcesAsync |
Returns a list of all MobileResource objects that were updated offline.
|
![]() | OpenEndpointAsyncT |
Returns an object that provides access to an endpoint in a custom code API.
|
![]() | PurgeAsync |
Deletes all cached resources.
|
![]() | SynchronizePinnedResourcesAsync |
Synchronizes all pinned resources with their mobile backends. For collections all pages will be downloaded.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | CachedResourceChanged |
Event that is raised every time a cached resource is updated either from new data from the service or from a online or offline
write by the application or on a delete.
|
![]() | OfflineResourceSynchronized |
Event that is raised after every offline resource is synchronized with the service.
|