DefaultAndroidBuildProvider

Default implementation of AndroidBuildProvider that returns actual Android Build properties.

This production implementation directly accesses the Android Build class to retrieve device information. It provides the real device properties for use in production code.

Implementation Notes:

  • Currently implements only getHardware and getManufacturer methods

  • Other method (getDevice) use default interface implementations (return null)

  • This partial implementation can be extended as needed for additional Build properties

Thread Safety: This class is thread-safe as it only accesses static final fields from the Build class.

See also

for the interface definition

for the underlying Android system properties

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun getHardware(): String?

Returns the actual device hardware identifier from Android Build properties.

Link copied to clipboard
open override fun getManufacturer(): String?

Returns the actual device manufacturer from Android Build properties.