StreamPack
Toggle table of contents
3.0.0-RC
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
StreamPack
streampack-core
/
io.github.thibaultbee.streampack.core.elements.utils
/
OrientationUtils
/
getSurfaceRotationDegrees
get
Surface
Rotation
Degrees
@
IntRange
(
from
=
0
,
to
=
359
)
fun
getSurfaceRotationDegrees
(
surfaceOrientation
:
Int
)
:
Int
Returns the surface orientation in degrees from
Surface
rotation (
Surface.ROTATION_0
, ...).