onResult
Occurs when the statistics of the media resources are received, which is an asynchronous operation.
@CalledByNative void onResult(PlayerStats playerStats, Error error);
- Since
- v4.5.0
Trigger timing
When the asynchronous operation that retrieves the statistics of the media resources, the SDK triggers this callback to report the result of this operation.
Restrictions
None.
Parameters
- playerStats
- The statistics of the media resources. See PlayerStats.
- error
- The state or error information: Error.