sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.view.accessibility
/
AccessibilityNodeInfoCompat
/
RangeInfoCompat
Range
Info
Compat
open
class
RangeInfoCompat
(
source
)
Class with information if a node is a range.
Members
Constructors
Range
Info
Compat
Link copied to clipboard
constructor
(
type
:
Int
,
min
:
Float
,
max
:
Float
,
current
:
Float
)
Creates a new range.
Properties
RANGE_
TYPE_
FLOAT
Link copied to clipboard
val
RANGE_TYPE_FLOAT
:
Int
=
1
Range type: float.
RANGE_
TYPE_
INT
Link copied to clipboard
val
RANGE_TYPE_INT
:
Int
=
0
Range type: integer.
RANGE_
TYPE_
PERCENT
Link copied to clipboard
val
RANGE_TYPE_PERCENT
:
Int
=
2
Range type: percent with values from zero to one.
Functions
get
Current
Link copied to clipboard
open
fun
getCurrent
(
)
:
Float
Gets the current value.
get
Max
Link copied to clipboard
open
fun
getMax
(
)
:
Float
Gets the max value.
get
Min
Link copied to clipboard
open
fun
getMin
(
)
:
Float
Gets the min value.
get
Type
Link copied to clipboard
open
fun
getType
(
)
:
Int
Gets the range type.
obtain
Link copied to clipboard
open
fun
obtain
(
type
:
Int
,
min
:
Float
,
max
:
Float
,
current
:
Float
)
:
AccessibilityNodeInfoCompat.RangeInfoCompat
Obtains a cached instance if such is available otherwise a new one.