getSurfaceSize

abstract fun getSurfaceSize(targetResolution: Size): Size(source)

Gets the size of the surface to allocate to display the source.

Return

the size of the surface to allocate

Parameters

targetResolution

the target resolution