Future<double> currentLatency() async { return _methods.invokeMethod(_Methods.getFrameDuration).then((latency) { return (latency as double) * _Constants.millisecPerSec; }); }