Class QueryBasedSyncConfiguration
A QueryBasedSyncConfiguration is used to setup a Realm that can be synchronized in "query-based" mode between devices using the Realm Object Server. Only objects that match the subscribed queries will be synchronized to the client.
Inherited Members
Namespace: Realms.Sync
Assembly: Realm.dll
Syntax
public class QueryBasedSyncConfiguration : SyncConfigurationBase
Constructors
| Improve this Doc View SourceQueryBasedSyncConfiguration(Uri, User, String)
Initializes a new instance of the QueryBasedSyncConfiguration class.
Declaration
public QueryBasedSyncConfiguration(Uri serverUri = null, User user = null, string optionalPath = null)
Parameters
Type | Name | Description |
---|---|---|
Uri | serverUri | A unique Uri that identifies the Realm. In URIs, |
User | user | A valid User. If not provided, the currently logged-in user will be used. |
String | optionalPath | Path to the realm, must be a valid full path for the current platform, relative subdirectory, or just filename. |