name

open override fun name(name: String): SyncConfiguration.Builder

Sets the filename of the realm file.

If a SyncConfiguration is built without having provided a name, Realm will generate a file name based on the provided partitionValue and AppConfiguration.appId which will have a .realm extension.

Throws

if the name includes a path separator or if the name is .realm.