onResult

Callback triggered when the asynchronous operation to get media resource statistics completes.

@CalledByNative void onResult(PlayerStats playerStats, Error error);

Trigger Timing

This callback is triggered when the operation to get media resource information asynchronously completes.

Parameters

playerStats
Statistics of the media resource. See PlayerStats.
error
Status and error information. See Error.