onDroppedFrames

abstract fun onDroppedFrames(eventTime: EventTime, droppedFrames: Int, elapsedMs: Long)

Called when frames are dropped.

Parameters

eventTime

Contains details of the event.

droppedFrames

number of frames dropped.

elapsedMs

The duration in milliseconds over which the frames were dropped. This duration is timed from when the renderer was started or from when dropped frames were last reported (whichever was more recent), and not from when the first of the reported drops occurred.


abstract fun onDroppedFrames(count: Int, elapsed: Long)

Deprecated

Deprecated

Use onDroppedFrames