An App is the main client-side entry point for interacting with a MongoDB Realm App.
A sync manager, handling synchronization of local Realm with remote MongoDB Realm apps. It is always scoped to a particular app and can only be accessed via Sync.
A class exposing configuration options for a App.
A class, representing the credentials used for authenticating a User.
A FlexibleSyncConfiguration is used to setup a Realm whose data can be synchronized between devices using MongoDB Realm. Unlike PartitionSyncConfiguration, a Realm opened with FlexibleSyncConfiguration will be initially empty until one or more subscriptions are added via Subscriptions.
The remote MongoClient used for working with data in MongoDB remotely via Realm.
An object representing a remote MongoDB collection.
An object representing a remote MongoDB database.
The result of InsertManyAsync(IEnumerable<TDocument>) operation.
The result of InsertOneAsync(TDocument) operation.
A set of extension methods that provide Sync-related functionality on top of Realm classes.
An object encapsulating a synchronization session. Sessions represent the communication between the client (and a local Realm file on disk), and the server (and a remote Realm served by a MongoDB Realm Server). Sessions are always created by the SDK and vended out through various APIs. The lifespans of sessions associated with Realms are managed automatically.
A class representing a single query subscription. The server will continuously evaluate the Query that the app subscribed to and will send data that matches it as well as remove data that no longer does.
A class providing various options to Add<T>(IQueryable<T>, SubscriptionOptions). All the properties in this class are optional.
A collection representing the set of active subscriptions for a Realm instance. This is used in combination with FlexibleSyncConfiguration to declare the set of queries you want to synchronize with the server. You can access and read the subscription set freely, but mutating it must happen in an Update(Action) block.
A SyncConfigurationBase is used to setup a Realm that can be synchronized between devices using MongoDB Realm. There are two synchronization modes with their respective configurations - "partition" sync with PartitionSyncConfiguration allows you to split your data in separarate partitions and synchronize an entire partition with an entire Realm; "flexible" sync with FlexibleSyncConfiguration allows you to start with an empty Realm and send the server a set of queries which it will run and populate the Realm with all documents matching them.
This class represents a user in a MongoDB Realm app. The credentials are provided by various 3rd party providers (Facebook, Google, etc.). A user can log in to the server and, if access is granted, it is possible to synchronize the local and the remote Realm. Moreover, synchronization is halted when the user is logged out. It is possible to persist a user. By retrieving a user, there is no need to log in to the 3rd party provider again. Persisting a user between sessions, the user's credentials are stored locally on the device, and should be treated as sensitive data.
A class exposing functionality for calling remote MongoDB Realm functions.
The Push client exposes an API to register/deregister for push notifications from a client app.
A class containing information about an identity associated with a user.
A class containing profile information about User.
A struct containing information about the progress state at a given instant.
The current connection state of a sync session object.
An enum containing the possible authentication providers. These have to manually be enabled for your app before they can be used.
The type of the Google credential.
Enumeration that specifies how and if logged-in User objects are persisted across application launches.
The transfer direction (upload or download) tracked by a given progress notification subscription.
The desired behavior of a progress notification subscription.
The current state of a sync session object.
An enum representing the state of a Realm's subscription set.
The state of the user object.
Callback triggered when an error occurs in a session.