Android SDK API Reference

Public Member Functions | List of all members
io.skyway.Peer.StatsCollectorCallback Interface Reference

Getting statistics callback interface. More...

Public Member Functions

void onStatsDelivered (JSONArray stats)
 Callback method when calling getStats function. More...

Detailed Description

Getting statistics callback interface.

Member Function Documentation

◆ onStatsDelivered()

void io.skyway.Peer.StatsCollectorCallback.onStatsDelivered ( JSONArray  stats)

Callback method when calling getStats function.


The stats argument is an array(JSONArray) of objects based on RTCStats Dictionary.

See document RTCStatsType enum about type key included in the array.*

See also Stats Dictionary for the statistical data that can be obtained.