Exemplo n.º 1
0
 /// <summary>
 /// Overrides this method to handle the behavior when the time tick event comes in ambient mode.
 /// If base.OnAmbientTick() is not called, the event 'AmbientTick' will not be emitted.
 /// </summary>
 /// <param name="time">The received TimeEventArgs to get time information.</param>
 /// <privilege>http://tizen.org/privilege/alarm.set</privilege>
 /// <since_tizen> 4 </since_tizen>
 protected virtual void OnAmbientTick(TimeEventArgs time)
 {
     AmbientTick?.Invoke(this, time);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Overrides this method if want to handle behavior.
 /// </summary>
 /// <privilege>http://tizen.org/privilege/alarm.set</privilege>
 protected virtual void OnAmbientTick(AmbientTickEventArgs e)
 {
     Log.Debug("NUI", "OnAmbientTick() is called!");
     AmbientTick?.Invoke(this, e);
 }