csapi-sensor: change namespace from Tizen.System.Sensor to Tizen.Sensor
[platform/core/csapi/tizenfx.git] / src / Tizen.Sensor / Tizen.Sensor / EventArgs / MagnetometerRotationVectorSensorDataUpdatedEventArgs.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.
8
9 using System;
10
11 namespace Tizen.Sensor
12 {
13     /// <summary>
14     /// MagnetometerRotationVectorSensor changed event arguments. Class for storing the data returned by magnetometer rotation vector sensor
15     /// </summary>
16     public class MagnetometerRotationVectorSensorDataUpdatedEventArgs : EventArgs
17     {
18         internal MagnetometerRotationVectorSensorDataUpdatedEventArgs(float[] values, SensorDataAccuracy accuracy)
19         {
20             X = values[0];
21             Y = values[1];
22             Z = values[2];
23             W = values[3];
24             Accuracy = accuracy;
25         }
26
27         /// <summary>
28         /// Gets the X component of the magnetometer rotation vector.
29         /// </summary>
30         public float X { get; private set; }
31
32         /// <summary>
33         /// Gets the Y component of the magnetometer rotation vector.
34         /// </summary>
35         public float Y { get; private set; }
36
37         /// <summary>
38         /// Gets the Z component of the magnetometer rotation vector.
39         /// </summary>
40         public float Z { get; private set; }
41
42         /// <summary>
43         /// Gets the W component of the magnetometer rotation vector.
44         /// </summary>
45         public float W { get; private set; }
46
47         /// <summary>
48         /// Gets the accuracy of the magnetometer rotation vector data.
49         /// </summary>
50         public SensorDataAccuracy Accuracy { get; private set; }
51     }
52 }