/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ using System; namespace Tizen.System { /// /// BatteryPercentChangedEventArgs is an extended EventArgs class. This class contains event arguments for the BatteryPercentChanged event from the battery class. /// /// 3 public class BatteryPercentChangedEventArgs : EventArgs { internal BatteryPercentChangedEventArgs(){} /// /// The current capacity of the battery. /// Capacity is an integer value from 0 to 100 that indicates the remaining battery charge as a percentage of the maximum level. /// /// 3 public int Percent { get; internal set; } } /// /// BatteryLevelChangedEventArgs is an extended EventArgs class. This class contains event arguments for the BatteryLevelChanged event from the battery class. /// /// 3 public class BatteryLevelChangedEventArgs : EventArgs { internal BatteryLevelChangedEventArgs(){} /// /// The level indicates the current battery level status which is a type of the BatteryLevelStatus. /// /// 3 public BatteryLevelStatus Level { get; internal set; } } /// /// BatteryChargingStateChangedEventArgs is an extended EventArgs class. This class contains event arguments for the BatteryChargingStateChanged event from the battery class. /// /// 3 public class BatteryChargingStateChangedEventArgs : EventArgs { internal BatteryChargingStateChangedEventArgs() {} /// /// The charging state of the battery. Charging is a type of a boolean which indicates true/false based on the current charging status. /// /// 3 public bool IsCharging { get; internal set; } } /// /// DisplayStateChangedEventArgs is an extended EventArgs class. This class contains event arguments for the DisplayStateChanged event from the display class. /// /// 3 public class DisplayStateChangedEventArgs : EventArgs { internal DisplayStateChangedEventArgs() {} /// /// The state indicates the current display state of the device which is an enumeration of the type DisplayState. /// /// 3 public DisplayState State { get; internal set; } } /// /// LedBrightnessChangedEventArgs is an extended EventArgs class. This class contains event arguments for the LedBrightnessChanged event from the LED class. /// /// 3 public class LedBrightnessChangedEventArgs : EventArgs { internal LedBrightnessChangedEventArgs() {} /// /// Brightness indicates the current brightness level of the display as an integer. /// /// 3 public int Brightness { get; internal set; } } }