Click or drag to resize
MobileEndpointT Class
Class that represents an endpoint in a custom code API.
Inheritance Hierarchy
SystemObject
  Oracle.Cloud.Mobile.Synchronization.MobileEndpointMobileEndpointT

Namespace: Oracle.Cloud.Mobile.Synchronization.MobileEndpoint
Assemblies:  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)
Syntax
public class MobileEndpoint<T>
where T : new(), MobileObject

Type Parameters

T
The type of MobileObject that this endpoint deals with.

The MobileEndpointT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyApiName
The name of the custom code API.
Public propertyEndpointPath
The endpoint in the API.
Top
Methods
  NameDescription
Public methodCreateFile
Creates a new MobileFile. The file is not uploaded to the service until SaveAsync() is invoked.
Public methodCreateObject
Creates a new MobileObject. The object is not uploaded to the service until SaveAsync() is invoked.
Public methodCreateObject(String)
Creates a new MobileObject. The object is not uploaded to the service until SaveAsync() is invoked.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFetchConflictFilesAsync
Returns the list of all files that are in conflict. The list contains pairs of fiels where the first file is the one in conflict and the second is the one downloaded form the service. The conflict can be resolved by doing another write to the file.
Public methodFetchConflictObjectsAsync
Returns the list of all objects that are in conflict. The list contains pairs of objects where the first object is the one in conflict and the second is the one downloaded form the service. The conflict can be resolved by doing another write to the object.
Public methodFetchErrorObjectsAsync
Returns the list of all objects that received an error while committing offline updates to the service.
Public methodFetchFile
Method to fetch a MobileFile from the endpoint.
Public methodFetchObject
Method to fetch an object from the endpoint.
Public methodFetchObjects
Method to fetch a collection of objects from the endpoint. If the collection exists in the cache the cached copy is returned otherwise it is downloaded from the service.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also