public interface ReportPublisher
| Modifier and Type | Method and Description |
|---|---|
void |
addReportListener(ReportListener inListener)
Adds a report listener.
|
void |
removeReportListener(ReportListener inListener)
Removes a report listener that was previously added via
addReportListener(ReportListener). |
void addReportListener(ReportListener inListener)
The report listener receives all the reports sent out by the server.
If the same listener is added more than once, it will receive notifications as many times as it's been added.
The listeners are notified in the reverse order of their addition.
inListener - a ReportListener value holding the listener instance that should be supplied the reports.void removeReportListener(ReportListener inListener)
addReportListener(ReportListener).
If the listener was added more than once, only its most recently added occurrence will be removed.
inListener - a ReportListener containing the listener instance that should no longer be receiving the reports.Copyright © 2019. All rights reserved.