subscribe
fun subscribe(descriptors: List<ReportDescriptor>, updateIfSubscribed: Boolean, onSubscribeComplete: (Server.Result) -> Unit? = null)
Subscribe to the given reports.
Parameters
descriptors
the reports to subscribe to.
Content copied to clipboard
update If Subscribed
Indicates whether to update the report if it is already subscribed.
Content copied to clipboard
on Subscribe Complete
an optional callback invoked when a subscription process for a report has completed
(successfully or otherwise); called once for each report.
Content copied to clipboard