game / pragma.telemetry / TelemetryPlugin / getEvents /
getEvents #
abstract suspend fun getEvents(eventNameHash: Long?, limit: Long): List<Event>
Returns the latest already persisted telemetry events up to the provided limit.
This method is optional and is not supported by all plugin implementations.
Used by:
- TelemetryService.getEventsOperatorV1
 
Return #
The retrieved list of events. The number of events returned is implementation specific.
Parameters #
eventNameHash  | Optional. If provided, filters results by hashed event name. If absent, no filtering is applied.  | 
limit  | Maximum number of events to retrieve.  | 
Throws #
pragma.PragmaException  | (PragmaError.TelemetryService_UnsupportedOperation) When the plugin does not support this method.  |