toggle menu
PLVAndroidMediaPlayer
2.3.0
release
switch theme
search in API
media-player-sdk
/
net.polyv.android.player.sdk
/
PLVDeviceManager
PLVDevice
Manager
object
PLVDeviceManager
Author
Hoshiiro
Members
Functions
get
Brightness
Link copied to clipboard
@
JvmStatic
fun
getBrightness
(
activity
:
Activity
)
:
Int
get
Navigation
Bar
Height
Link copied to clipboard
@
JvmStatic
fun
getNavigationBarHeight
(
)
:
Pixels
get
Status
Bar
Height
Link copied to clipboard
@
JvmStatic
fun
getStatusBarHeight
(
)
:
Pixels
get
Volume
Link copied to clipboard
@
JvmStatic
fun
getVolume
(
context
:
Context
)
:
Int
hide
Status
Bar
Link copied to clipboard
@
JvmStatic
fun
hideStatusBar
(
activity
:
Activity
)
is
Auto
Rotate
Enable
Link copied to clipboard
@
JvmStatic
fun
isAutoRotateEnable
(
context
:
Context
)
:
Boolean
系统是否允许自动旋转屏幕
is
Network
Connected
Link copied to clipboard
@
JvmStatic
fun
isNetworkConnected
(
)
:
Boolean
set
Brightness
Link copied to clipboard
@
JvmStatic
fun
setBrightness
(
activity
:
Activity
,
brightness
:
Int
)
set
Transparent
Status
Bar
Link copied to clipboard
@
JvmStatic
fun
setTransparentStatusBar
(
window
:
Window
)
set
Volume
Link copied to clipboard
@
JvmStatic
fun
setVolume
(
context
:
Context
,
volume
:
Int
)
show
Status
Bar
Link copied to clipboard
@
JvmStatic
fun
showStatusBar
(
activity
:
Activity
)