getReport

Gets the subscribed Report, if any, with the defined ID.

Return

a Report, or null if no such report could be found for the given ID.

Parameters

id
a valid report ID.

fun getReport(descriptor: ReportDescriptor): Report?

Gets the subscribed Report, if any, for the given ReportDescriptor.

Return

a Report, or null if no such report could be found for the given descriptor.