Class RealmSyncExtensions
A set of extension methods that provide Sync-related functionality on top of Realm classes.
Namespace: Realms.Sync
Assembly: Realm.dll
Syntax
public static class RealmSyncExtensions
Methods
| Improve this Doc View SourceGetSession(Realm)
Declaration
public static Session GetSession(this Realm realm)
Parameters
Type | Name | Description |
---|---|---|
Realm | realm | An instance of the Realm class created with a SyncConfigurationBase object. |
Returns
Type | Description |
---|---|
Session | The Session that is responsible for synchronizing with a Realm Object Server instance. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
ArgumentException | Thrown if the |