コード例 #1
0
 static void BatteryInfoChangedNotification(object sender, NSNotificationEventArgs args)
 => MainThread.BeginInvokeOnMainThread(OnBatteryInfoChanged);
コード例 #2
0
 static void PowerChangedNotification(NSNotification notification)
 => MainThread.BeginInvokeOnMainThread(OnEnergySaverChanged);
コード例 #3
0
ファイル: Battery.uwp.cs プロジェクト: zhamppx97/maui
 static void ReportEnergySaverUpdated(object sender, object e)
 => MainThread.BeginInvokeOnMainThread(OnEnergySaverChanged);
コード例 #4
0
ファイル: Battery.uwp.cs プロジェクト: zhamppx97/maui
 static void ReportUpdated(object sender, object e)
 => MainThread.BeginInvokeOnMainThread(OnBatteryInfoChanged);
コード例 #5
0
 static void PowerSourceNotification()
 => MainThread.BeginInvokeOnMainThread(OnBatteryInfoChanged);