docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Flush

    Flush()

    Forces an immediately upload of all recorded events to the server, if there is an internet connection and a flush is not already in progress. Flushing is triggered automatically on a regular cadence so you should not need to use this method, unless you specifically require some queued events to be uploaded immediately.

    Declaration
    void Flush()
    Exceptions
    Type Condition
    ConsentCheckException

    Thrown if the required consent flow cannot be determined..

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)