Agora Java API Reference for Android
Public Member Functions | List of all members
io.agora.rte.callback.PlayerGetStatsCallback Interface Reference

Public Member Functions

void onResult (PlayerStats playerStats, Error error)
 This callback handles the result of the asynchronous operation to retrieve media resource statistics. More...
 

Detailed Description

The PlayerGetStatsCallback class.

Since
v4.4.0

Member Function Documentation

◆ onResult()

void io.agora.rte.callback.PlayerGetStatsCallback.onResult ( PlayerStats  playerStats,
Error  error 
)

This callback handles the result of the asynchronous operation to retrieve media resource statistics.

Call timing: The SDK triggers this callback to report the result when the asynchronous operation to retrieve media resource information is complete.

Parameters
playerStatsStatistics of the media resource. See PlayerStats for details.
errorStatus and error information. See Error for details.