Click or drag to resize
Synchronization Class
Class that provides caching and Synchronization capabilities.
Inheritance Hierarchy
SystemObject
  Oracle.Cloud.Mobile.MobileBackendServiceProxy
    Oracle.Cloud.Mobile.SynchronizationSynchronization

Namespace: Oracle.Cloud.Mobile.Synchronization
Assembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public sealed class Synchronization : ServiceProxy

The Synchronization type exposes the following members.

Constructors
  NameDescription
Public methodSynchronization
Internal constructor not meant for public callers.
Top
Properties
  NameDescription
Public propertyBackend
The Mobile Backend that this Service Proxy is associated with.
(Inherited from ServiceProxy.)
Public propertyCacheHitCount
The number of cache hits during the current app lifetime.
Public propertyCacheMissCount
The number of cache misses during the current app lifetime.
Top
Methods
  NameDescription
Public methodCreateHttpFilter
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.
Public methodCreateHttpFilter(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.
Public methodCreateHttpHandler
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.
Public methodCreateHttpHandler(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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvictResourceAsync
Evicts a cached resource for a given uri.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadOfflineResourcesAsync
Returns a list of all MobileResource objects that were updated offline.
Public methodOpenEndpointAsyncT
Returns an object that provides access to an endpoint in a custom code API.
Public methodPurgeAsync
Deletes all cached resources.
Public methodSynchronizePinnedResourcesAsync
Synchronizes all pinned resources with their mobile backends. For collections all pages will be downloaded.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCachedResourceChanged
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.
Public eventOfflineResourceSynchronized
Event that is raised after every offline resource is synchronized with the service.
Top
See Also