Location Manager Implementation
[platform/core/csapi/tizenfx.git] / src / Tizen.Location / Tizen.Location / SettingChangedEventArgs.cs
1 // Copyright 2016 by Samsung Electronics, Inc.,
2 //
3 // This software is the confidential and proprietary information
4 // of Samsung Electronics, Inc. ("Confidential Information"). You
5 // shall not disclose such Confidential Information and shall use
6 // it only in accordance with the terms of the license agreement
7 // you entered into with Samsung.\r
8 \r
9 using System;\r
10 \r
11 \r
12 namespace Tizen.Location\r
13 {\r
14     public class SettingChangedEventArgs : EventArgs
15     {
16         /// <summary>
17         /// Class Constructor for SettingChangedEventArgs class.
18         /// </summary>
19         /// <param name="method"> The positioing method used for Location information.</param>
20         /// <param name="enable"> Status of the method.</param>
21         public SettingChangedEventArgs(LocationType type, bool enable)
22         {
23             LocationType = type;
24             IsEnabled = enable;
25         }
26
27         /// <summary>
28         /// Gets the currently used location method.
29         /// </summary>
30         public LocationType LocationType { get; private set; }
31
32         /// <summary>
33         /// Method to get the setting value changed.
34         /// </summary>
35         public bool IsEnabled { get; private set; }
36     }\r
37 }\r