You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to Realm Java we should expose the option of compacting on launch.
This also involves exposing an interface like
publicinterfaceCompactOnLaunchCallback {
/** * This method determines if the Realm file should be compacted before opened and returned to the user. It is passed * the total file size (data + free space) and the bytes used by data in the file. * * @param totalBytes the total file size (data + free space). * @param usedBytes the total bytes used by data in the file. * @return {code true} to indicate an attempt to compact the file should be made. Otherwise, the compaction will be * skipped. */booleanshouldCompact(longtotalBytes, longusedBytes);
}
And with a similar configuration with a similar API to Realm Java
See #195
Similar to Realm Java we should expose the option of compacting on launch.
This also involves exposing an interface like
And with a similar configuration with a similar API to Realm Java
The text was updated successfully, but these errors were encountered: