getContentZone

fun getContentZone(): Rect

Gives access to rendered stream content zone.

Content zone defines the area where actual stream content is rendered, excluding padding introduced by any configured scale type.

Content zone is updated after each frame is rendered.

Return

current rendered stream content zone, empty when rendering is stopped and until first frame has been rendered