다음을 통해 공유


BatteryInfoChangedEventArgs 클래스

정의

의 현재 읽기를 포함하는 이벤트 인수입니다 IBattery.

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

설명

배터리의 현재 정보를 반환합니다.

생성자

BatteryInfoChangedEventArgs(Double, BatteryState, BatteryPowerSource)

BatteryInfoChangedEventArgs 클래스의 새 인스턴스를 초기화합니다.

속성

ChargeLevel

디바이스의 현재 충전 수준을 0.0에서 1.0으로 가져옵니다.

PowerSource

디바이스의 현재 전원을 가져옵니다.

State

디바이스의 충전 상태를 가져옵니다.

메서드

ToString()

BatteryInfoChangedEventArgs 인스턴스의 문자열 표현을 반환합니다.

적용 대상