Class
caplin.element.buffer

DisplayLatencyListener

Constructor Summary

Attributes Name and Description
caplin.element.buffer.DisplayLatencyListener()

The DisplayLatencyListener interface should be implemented by interested classes that wish to be notified of update to the latency that is occurring from the server to when updates occur to the display.

Method Summary

Attributes Name and Description
void onDisplayLatencyUpdate( nDisplayLatency)

A callback method that is invoked when there has been an update to the display latency.

Constructor Detail

caplin.element.buffer.DisplayLatencyListener()

The DisplayLatencyListener interface should be implemented by interested classes that wish to be notified of update to the latency that is occurring from the server to when updates occur to the display. To register as a DisplayLatencyListener, you should invoke addDisplayLatencyListener on an instance of a DisplayBuffer. The main display throttle can be retrieved by invoking caplin.element.ElementFactory.getDisplayBuffer().

See
DisplayBuffer

Method Detail

void onDisplayLatencyUpdate( nDisplayLatency)

A callback method that is invoked when there has been an update to the display latency. The display latency only includes time that is incurred in the display (i.e it does not include connection latency).

Parameters
nDisplayLatency The display latency in milliseconds.