| java.lang.Object |
| ↳ |
lineageos.os.Build |
Class Overview
Information about the current LineageOS build, extracted from system properties.
Summary
| Nested Classes |
|
class |
Build.LINEAGE_VERSION |
Various version strings.
|
|
class |
Build.LINEAGE_VERSION_CODES |
Enumeration of the currently known SDK version codes.
|
| Constants |
| String |
UNKNOWN |
Value used for when a build property is unknown.
|
| Public Constructors |
|
|
Build()
|
| Public Methods |
|
static
String
|
getNameForSDKInt(int sdkInt)
Retrieve the name for the SDK int
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Constants
public
static
final
String
UNKNOWN
Value used for when a build property is unknown.
Constant Value:
"unknown"
Fields
public
static
final
String
LINEAGEOS_DISPLAY_VERSION
A build ID string meant for displaying to the user
public
static
final
String
LINEAGEOS_VERSION
A build ID utilized to distinguish lineageos versions
Public Constructors
Public Methods
public
static
String
getNameForSDKInt
(int sdkInt)
Retrieve the name for the SDK int
| Returns |
String |
name of the SDK int, {@link #UNKNOWN) if not known
|