toggle menu
hooks2
android
switch theme
search in API
hooks2
/
xyz.junerver.compose.hooks.usedeviceinfo
Package-level
declarations
Types
Functions
Types
Battery
Info
Link copied to clipboard
android
data
class
BatteryInfo
(
val
level
:
Int
,
val
isCharging
:
Boolean
)
Build
Info
Link copied to clipboard
android
data
class
BuildInfo
(
val
brand
:
String
,
val
model
:
String
,
val
release
:
String
)
Screen
Info
Link copied to clipboard
android
data
class
ScreenInfo
(
val
screenDp
:
IntSize
,
val
screenPx
:
IntSize
,
val
density
:
Float
,
val
isLandscape
:
Boolean
)
Functions
use
Battery
Info
Link copied to clipboard
android
@
Composable
fun
useBatteryInfo
(
)
:
BatteryInfo
use
Build
Info
Link copied to clipboard
android
@
Composable
fun
useBuildInfo
(
)
:
BuildInfo
use
Screen
Info
Link copied to clipboard
android
@
Composable
fun
useScreenInfo
(
)
:
ScreenInfo