prepareReporting

external fun prepareReporting(categoryId: Int = 0, dataSource: DataSource = PositionService.dataSource!!): Int

Prepare reporting

Return

If in dry run mode ( categoryId != 0 ), will check if reporting is possible and return the error code:

If in preparing mode ( categoryId = 0 ):

Parameters

categoryId

Report category id, default = 0. If != 0, a dry run test is performed to check if the given category id can be reported

dataSource

The DataSource from which the report position is set. Default is the current position service data source