groundsdk 7.7.2 API
7.7.2
androidJvm
groundsdk 7.7.2 API
/
com.parrot.drone.groundsdk.facility.firmware
/
FirmwareVersion
Firmware
Version
abstract
class
FirmwareVersion
:
Comparable
<
T
>
Represents a device's firmware version.
Members
Types
Type
Link copied to clipboard
enum
Type
Firmware version type.
Functions
compare
To
Link copied to clipboard
abstract
fun
compareTo
(
p
:
T
)
:
Int
get
Build
Number
Link copied to clipboard
@
IntRange
(
from
=
0
)
abstract
fun
getBuildNumber
(
)
:
Int
Gets the build number of the firmware version.
get
Major
Link copied to clipboard
@
IntRange
(
from
=
0
)
abstract
fun
getMajor
(
)
:
Int
Gets the major identifier of the firmware version.
get
Minor
Link copied to clipboard
@
IntRange
(
from
=
0
)
abstract
fun
getMinor
(
)
:
Int
Gets the minor identifier of the firmware version.
get
Patch
Level
Link copied to clipboard
@
IntRange
(
from
=
0
)
abstract
fun
getPatchLevel
(
)
:
Int
Gets the patch level of the firmware version.
get
Type
Link copied to clipboard
@
NonNull
abstract
fun
getType
(
)
:
FirmwareVersion.Type
Gets the firmware version type.
parse
Link copied to clipboard
@
Nullable
open
fun
parse
(
@
NonNull
versionString
:
String
)
:
FirmwareVersion
Converts a formatted version string to a FirmwareVersion.