exportToCsv
open fun exportToCsv(@NonNull fileName: String, @NonNull query: EventQuery, limit: Int, @NonNull callback: ExportEventHistoryCallback)
Export event history to a CSV file.
Parameters
fileName
Name of the file to export to.
query
Query to select events to export;
limit
limit of exported events (null means no limit).
callback
Callback to receive the export result. On success, the result contains the exported file path.