C# Class Realms.Sync.SyncConfiguration

A SyncConfiguration is used to setup a Realm that can be synchronized between devices using the Realm Object Server. A valid User is required to create a SyncConfiguration.
Inheritance: RealmConfigurationBase
Mostrar archivo Open project: realm/realm-dotnet Class Usage Examples

Public Methods

Method Description
SyncConfiguration ( User user, Uri serverUri, string optionalPath = null ) : System

Initializes a new instance of the SyncConfiguration class.

Private Methods

Method Description
CreateRealm ( RealmSchema schema ) : Realm

Method Details

SyncConfiguration() public method

Initializes a new instance of the SyncConfiguration class.
public SyncConfiguration ( User user, Uri serverUri, string optionalPath = null ) : System
user User A valid .
serverUri System.Uri A unique that identifies the Realm. In URIs, ~ can be used as a placeholder for a user Id.
optionalPath string Path to the realm, must be a valid full path for the current platform, relative subdirectory, or just filename.
return System