Beispiel #1
0
 static void BatteryInfoChangedNotification(object sender, NSNotificationEventArgs args)
 => MainThread.BeginInvokeOnMainThread(OnBatteryInfoChanged);
Beispiel #2
0
 static void PowerChangedNotification(NSNotification notification)
 => MainThread.BeginInvokeOnMainThread(OnEnergySaverChanged);
Beispiel #3
0
 static void ReportEnergySaverUpdated(object sender, object e)
 => MainThread.BeginInvokeOnMainThread(OnEnergySaverChanged);
Beispiel #4
0
 static void ReportUpdated(object sender, object e)
 => MainThread.BeginInvokeOnMainThread(OnBatteryInfoChanged);
Beispiel #5
0
 static void PowerSourceNotification()
 => MainThread.BeginInvokeOnMainThread(OnBatteryInfoChanged);