setWindowlessFrameRate

abstract fun setWindowlessFrameRate(frameRate: Int)

Set the maximum rate in frames per second (fps) that CefRenderHandler::onPaint will be called for a windowless browser. The actual fps may be lower if the browser cannot generate frames at the requested rate. The minimum value is 1, and the maximum value is 60 (default 30).

Parameters

frameRate

the maximum frame rate

Throws