Udostępnij za pośrednictwem


BatteryInfoChangedEventArgs Klasa

Definicja

Argumenty zdarzeń zawierające bieżący odczyt elementu IBattery.

public ref class BatteryInfoChangedEventArgs : EventArgs
public class BatteryInfoChangedEventArgs : EventArgs
type BatteryInfoChangedEventArgs = class
    inherit EventArgs
Public Class BatteryInfoChangedEventArgs
Inherits EventArgs
Dziedziczenie
BatteryInfoChangedEventArgs

Uwagi

Zwraca bieżące informacje o baterii.

Konstruktory

BatteryInfoChangedEventArgs(Double, BatteryState, BatteryPowerSource)

Inicjuje nowe wystąpienie klasy BatteryInfoChangedEventArgs.

Właściwości

ChargeLevel

Pobiera bieżący poziom opłat urządzenia z zakresu od 0.0 do 1.0.

PowerSource

Pobiera bieżące źródło zasilania dla urządzenia.

State

Pobiera stan ładowania urządzenia.

Metody

ToString()

Zwraca reprezentację ciągu tego wystąpienia klasy BatteryInfoChangedEventArgs.

Dotyczy