On Launch Callback
fun fun interface CompactOnLaunchCallback
Content copied to clipboard
This interface is used to determine if a Realm file should be compacted the first time the file is opened and before the instance is returned.
Note that compacting a file can take a while, so compacting should generally only be done as part of opening a Realm on a background thread.
Link copied to clipboard