Exemple #1
0
 /// <summary>
 /// Overrides this method if want to handle behavior when the system battery is low.
 /// If base.OnLowBattery() is not called, the event 'LowBattery' will not be emitted.
 /// </summary>
 /// <param name="e">The low battery event argument</param>
 /// <since_tizen> 3 </since_tizen>
 protected virtual void OnLowBattery(LowBatteryEventArgs e)
 {
     LowBattery?.Invoke(this, e);
 }
Exemple #2
0
 /// <summary>
 /// This method is to handle behavior when the system battery is low.
 /// </summary>
 /// <param name="e">The low battery event argument</param>
 /// <since_tizen> 10 </since_tizen>
 public virtual void OnLowBattery(LowBatteryEventArgs e)
 {
 }