Click or drag to resize
FetchCollectionBuilderT Class
Class that exposes fluent APIs for fetching objects from an Api Endpoint.
Inheritance Hierarchy
SystemObject
  Oracle.Cloud.Mobile.Synchronization.MobileEndpointFetchCollectionBuilderT

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 FetchCollectionBuilder<T>
where T : new(), MobileObject

Type Parameters

T
The type of object that the endpoint exposes.

The FetchCollectionBuilderT type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteAsync
Executes the fetch and returns the results.
Public methodFetchAllPages
Specifies that all pages of the collections should be downloaded. The HttpClient call will complete when the first page has been downloaded and the rest will be downloaded in the background and will restart even if the device goes offline or the app restarts. FetchAllPages can't be specified if an Offset is specified.
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 methodFromService
When invoked will cause the collection to be refreshed from the service.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLimit
Specifies the size of a page for pagination. Limit may be specified if FetchAllPages is specified and will be used as the size for each downloaded page.
Public methodListenForChanges
When invoked will cause the collection to listen for changes on creation, equivalent to calling StartListeningForChanges().
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOffset
Specifies the offset for pagination. Offset may not be specified if FetchAllPages is specified.
Public methodQueryFor
Specify a condition that the result objects should satisfy to be returned.
Public methodSortByAscending
Specifies an ascending sort for the results. Multiple sorts can be specified and will be executed in the specified order.
Public methodSortByDescending
Specifies an descending sort for the results. Multiple sorts can be specified and will be executed in the specified order.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithHeader
Specifies HTTP headers.
Public methodWithParam
Specifies query parameters.
Public methodWithPolicy
Specifies a SyncPolicy to use.
Top
See Also