BatteryAndRangeInfo

data class BatteryAndRangeInfo(    val currentChargeLevel: Int,     val percentageChargeLevel: Int,     val normalizedChargeLevel: Double,     val remainingRange: Long) : Parcelable

A data class that represents information on battery charge level and remaining range.

Constructors

Link copied to clipboard
fun BatteryAndRangeInfo(    currentChargeLevel: Int,     percentageChargeLevel: Int,     normalizedChargeLevel: Double,     remainingRange: Long)

Properties

Link copied to clipboard
val currentChargeLevel: Int
Link copied to clipboard
val normalizedChargeLevel: Double
Link copied to clipboard
val percentageChargeLevel: Int
Link copied to clipboard
val remainingRange: Long

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)