Kaluga
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kaluga
bluetooth-base
/
com.splendo.kaluga.bluetooth.serialization
/
KeyScalar
Key
Scalar
@
SerialInfo
@
Target
(
allowedTargets
=
[
AnnotationTarget.PROPERTY
]
)
annotation class
KeyScalar
(
val
multiplier
:
Int
=
1
,
val
decimalExponent
:
Int
=
0
,
val
binaryExponent
:
Int
=
0
,
val
offset
:
Int
=
0
)
Applies
Scalar
to any Key in a Map
Members
Properties
binary
Exponent
Link copied to clipboard
val
binaryExponent
:
Int
=
0
decimal
Exponent
Link copied to clipboard
val
decimalExponent
:
Int
=
0
multiplier
Link copied to clipboard
val
multiplier
:
Int
=
1
offset
Link copied to clipboard
val
offset
:
Int
=
0