a1cf5ed3e6ca362a9b737eb20ad96f083ad0ed62
[platform/core/csapi/sensor.git] /
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.System.Sensor
12 {
13     /// <summary>
14     /// GyroscopeRotationVectorSensor changed event arguments. Class for storing the data returned by gyroscope rotation vector sensor
15     /// </summary>
16     public class GyroscopeRotationVectorSensorDataUpdatedEventArgs : EventArgs
17     {
18         internal GyroscopeRotationVectorSensorDataUpdatedEventArgs(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 gyroscope rotation vector.
29         /// </summary>
30         public float X { get; private set; }
31
32         /// <summary>
33         /// Gets the Y component of the gyroscope rotation vector.
34         /// </summary>
35         public float Y { get; private set; }
36
37         /// <summary>
38         /// Gets the Z component of the gyroscope rotation vector.
39         /// </summary>
40         public float Z { get; private set; }
41
42         /// <summary>
43         /// Gets the W component of the gyroscope rotation vector.
44         /// </summary>
45         public float W { get; private set; }
46
47         /// <summary>
48         /// Gets the accuracy of the gyroscope rotation vector data.
49         /// </summary>
50         public SensorDataAccuracy Accuracy { get; private set; }
51     }
52 }