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.streamers.orientation
/
RotationProvider
Rotation
Provider
abstract
class
RotationProvider
:
IRotationProvider
Inheritors
DisplayRotationProvider
SensorRotationProvider
Members
Members & Extensions
Constructors
Rotation
Provider
Link copied to clipboard
constructor
(
)
Properties
listeners
Link copied to clipboard
protected
val
listeners
:
MutableSet
<
IRotationProvider.Listener
>
rotation
Link copied to clipboard
abstract
val
rotation
:
Int
The rotation in one the Surface rotations from the device natural orientation.
rotation
Degrees
Link copied to clipboard
@get:
IntRange
(
from
=
0
,
to
=
359
)
val
IRotationProvider
.
rotationDegrees
:
Int
Functions
add
Listener
Link copied to clipboard
open
override
fun
addListener
(
listener
:
IRotationProvider.Listener
)
as
Flow
Provider
Link copied to clipboard
fun
RotationProvider
.
asFlowProvider
(
)
:
IRotationFlowProvider
remove
Listener
Link copied to clipboard
open
override
fun
removeListener
(
listener
:
IRotationProvider.Listener
)