onChargerStateChanged

open fun onChargerStateChanged(isChargerConnected: Boolean)

Receive the charger plugin event

Parameters

isChargerConnected

true if the charger is plugged in, false otherwise