save Report

actual suspend fun saveReport(reportBytes: ByteArray, reportName: String, onSave: (String?) -> Unit)

Method used to save a report after its download

Parameters

reportBytes

The bytes made-up the report

reportName

The name of the report, it used to name the file also

onSave

Callback invoked when the file has been saved

expect suspend fun saveReport(reportBytes: ByteArray, reportName: String, onSave: (String?) -> Unit)

Method used to save a report after its download

Parameters

reportBytes

The bytes made-up the report

reportName

The name of the report, it used to name the file also

onSave

Callback invoked when the file has been saved

actual suspend fun saveReport(reportBytes: ByteArray, reportName: String, onSave: (String?) -> Unit)

Method used to save a report after its download

Parameters

reportBytes

The bytes made-up the report

reportName

The name of the report, it used to name the file also

onSave

Callback invoked when the file has been saved

actual suspend fun saveReport(reportBytes: ByteArray, reportName: String, onSave: (String?) -> Unit)

Method used to save a report after its download

Parameters

reportBytes

The bytes made-up the report

reportName

The name of the report, it used to name the file also

onSave

Callback invoked when the file has been saved

actual suspend fun saveReport(reportBytes: ByteArray, reportName: String, onSave: (String?) -> Unit)

Method used to save a report after its download

Parameters

reportBytes

The bytes made-up the report

reportName

The name of the report, it used to name the file also

onSave

Callback invoked when the file has been saved