AndroidInfo

interface AndroidInfo

The AndroidInfo interface representing detailed information about an Android device and its system environment

Author

Swapnil Musale

Inheritors

AndroidInfoImpl

Properties

Link copied to clipboard
abstract val androidId: String

androidId the unique Android ID of the device

Link copied to clipboard
abstract val appName: String

appName the name of the application

Link copied to clipboard
abstract val board: String

board the board name of the device hardware (e.g., "msm8974")

Link copied to clipboard
abstract val bootloader: String

bootloader the version of the device bootloader

Link copied to clipboard
abstract val device: String

device the device name (e.g., "hammerhead" for Nexus 5)

Link copied to clipboard

deviceOrientation the current orientation of the device (e.g., portrait or landscape)

Link copied to clipboard
abstract val display: String

display the display identifier for the build (e.g., "KOT49H")

Link copied to clipboard

displayMetrics display metrics containing screen properties such as density and resolution

Link copied to clipboard
abstract val fingerprint: String

fingerprint the unique identifier for the build fingerprint

Link copied to clipboard
abstract val hardware: String

hardware the name of the device hardware (e.g., "qcom" for Qualcomm chipsets)

Link copied to clipboard
abstract val host: String

host the host name used to build the system

Link copied to clipboard
abstract val id: String

id the build ID for the software (e.g., "KTU84P")

Link copied to clipboard
abstract val isDebug: Boolean

isDebug indicates whether the application is running in debug mode

Link copied to clipboard

isPhysicalDevice indicates whether the device is a physical device (true) or an emulator (false)

Link copied to clipboard
abstract val locale: Locale

locale the locale information of the device (e.g., "en_US")

Link copied to clipboard
abstract val manufacturer: String

manufacturer the name of the device manufacturer (e.g., "Google")

Link copied to clipboard
abstract val model: String

model the model name of the device (e.g., "Nexus 5")

Link copied to clipboard
abstract val packageName: String

packageName the package name of the application

Link copied to clipboard
abstract val product: String

product the product name of the device (e.g., "hammerhead")

Link copied to clipboard

supported32BitAbis an array of supported 32-bit ABIs for the device

Link copied to clipboard

supported64BitAbis an array of supported 64-bit ABIs for the device

Link copied to clipboard
abstract val supportedAbis: Array<String>

supportedAbis an array of supported ABIs (Application Binary Interfaces) for the device

Link copied to clipboard

systemFeatureList a list of system features available on the device

Link copied to clipboard
abstract val tags: String

tags comma-separated tags associated with the build (e.g., "release", "test-keys")

Link copied to clipboard
abstract val version: Version

version the version information of the application or system, encapsulated in the Version class

Link copied to clipboard

VERSION_CODES an enumeration of version codes, represented by the VersionCode object

Link copied to clipboard
abstract val versionCode: Long

versionCode the version code of the application or system, represented as a Long

Link copied to clipboard
abstract val versionName: String

versionName the version name of the application or system (e.g., "1.0.0")