open fun beginFrameSubscription(callback: (frameBuffer: Buffer, dirtyRect: Rectangle) -> Unit): Unit
open fun beginFrameSubscription(onlyDirty: Boolean, callback: (frameBuffer: Buffer, dirtyRect: Rectangle) -> Unit): Unit