BatteryState

class BatteryState(var status: BatteryStatus, var percentage: Int)

The battery state.

Constructors

Link copied to clipboard
constructor(status: BatteryStatus, percentage: Int)

Properties

Link copied to clipboard

The battery percentage.

Link copied to clipboard

The battery status.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Returns true if this instance is equal to other.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this instance.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this instance.