StreamPack
Toggle table of contents
3.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
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
(
source
)
Returns the surface orientation in degrees from
Surface
rotation (
Surface.ROTATION_0
, ...).