compactOnLaunchCallback

Callback that determines if the realm file should be compacted as part of opening it.

Return

null if the realm file should not be compacted when opened. Otherwise, the callback returned is the one that will be invoked in order to determine if the file should be compacted or not.

See also