maxNumberOfActiveVersions property

int? maxNumberOfActiveVersions
final

Sets the maximum number of active versions allowed before an exception is thrown.

Setting this will cause Realm to throw an exception if too many versions of the Realm data are live at the same time. Having too many versions can dramatically increase the filesize of the Realm.

Implementation

final int? maxNumberOfActiveVersions;