2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 namespace Tizen.System
22 /// BatteryPercentChangedEventArgs is an extended EventArgs class. This class contains event arguments for BatteryPercentChanged event from Battery class.
24 public class BatteryPercentChangedEventArgs : EventArgs
26 internal BatteryPercentChangedEventArgs(){}
28 /// The current capacity of the battery.
29 /// Capacity is an integer value from 0 to 100, that indicates remaining battery charge as a percentage of the maximum level.
31 /// <since_tizen> 3 </since_tizen>
32 public int Percent { get; internal set; }
36 /// BatteryLevelChangedEventArgs is an extended EventArgs class. This class contains event arguments for BatteryLevelChanged event from Battery class.
38 public class BatteryLevelChangedEventArgs : EventArgs
40 internal BatteryLevelChangedEventArgs(){}
42 /// Level indicates the Current battery level status which is of type BatteryLevelStatus.
44 /// <since_tizen> 3 </since_tizen>
45 public BatteryLevelStatus Level { get; internal set; }
49 /// BatteryChargingStateChangedEventArgs is an extended EventArgs class. This class contains event arguments for BatteryChargingStateChanged event from Battery class.
51 public class BatteryChargingStateChangedEventArgs : EventArgs
53 internal BatteryChargingStateChangedEventArgs() {}
55 /// The charging state of the battery. Charging is of type boolean which indicates true/false based on currrent charging status.
57 /// <since_tizen> 3 </since_tizen>
58 public bool IsCharging { get; internal set; }
62 /// DisplayStateChangedEventArgs is an extended EventArgs class. This class contains event arguments for DisplayStateChanged event from Display class.
64 public class DisplayStateChangedEventArgs : EventArgs
66 internal DisplayStateChangedEventArgs() {}
68 /// State indicates the current display state of the device which is an enum of type DisplayState.
70 /// <since_tizen> 3 </since_tizen>
71 public DisplayState State { get; internal set; }
75 /// LedBrightnessChangedEventArgs is an extended EventArgs class. This class contains event arguments for LedBrightnessChanged event from Led class.
77 public class LedBrightnessChangedEventArgs : EventArgs
79 internal LedBrightnessChangedEventArgs() {}
81 /// Brightness indicates the current brightness level of the display as an integer.
83 /// <since_tizen> 3 </since_tizen>
84 public int Brightness { get; internal set; }