open fun beginFrameSubscription(callback: (<ERROR CLASS>, dirtyRect: Rectangle) -> Unit): Unit
open fun beginFrameSubscription(onlyDirty: Boolean, callback: (<ERROR CLASS>, dirtyRect: Rectangle) -> Unit): Unit