다음을 통해 공유


BatteryInfoChangedEventArgs(Double, BatteryState, BatteryPowerSource) 생성자

정의

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

public:
 BatteryInfoChangedEventArgs(double level, Microsoft::Maui::Devices::BatteryState state, Microsoft::Maui::Devices::BatteryPowerSource source);
public BatteryInfoChangedEventArgs (double level, Microsoft.Maui.Devices.BatteryState state, Microsoft.Maui.Devices.BatteryPowerSource source);
new Microsoft.Maui.Devices.BatteryInfoChangedEventArgs : double * Microsoft.Maui.Devices.BatteryState * Microsoft.Maui.Devices.BatteryPowerSource -> Microsoft.Maui.Devices.BatteryInfoChangedEventArgs
Public Sub New (level As Double, state As BatteryState, source As BatteryPowerSource)

매개 변수

level
Double

배터리의 현재 수준입니다.

state
BatteryState

배터리의 상태입니다.

source
BatteryPowerSource

배터리의 소스입니다.

적용 대상