Swift SDK Version

FlushBehavior

publicenumFlushBehavior
Specifies when AppEventsLogger sends log events to the server.
  • Flush automatically: periodically (once a minute or every 100 logged events) and always at app reactivation.

    Declaration

    Swift
    caseauto
  • Only flush when the flush method is called. When an app is moved to background/terminated, the events are persisted and re-established at activation, but they will only be written with an explicit call to flush.

    Declaration

    Swift
    caseexplicitOnly