/// <summary>
/// Gets the X component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the face down state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Face down state </value>
public DetectorState FaceDown { get; private set; }
}
}
/// <summary>
/// Gets the X component of the gravity.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the gravity.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the gravity.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
/// <summary>
/// Gets the W component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> W </value>
public float W { get; private set; }
/// <summary>
/// Gets the accuracy of the gyroscope rotation vector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Accuracy </value>
public SensorDataAccuracy Accuracy { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the value of the heartRate.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Heart rate </value>
public int HeartRate { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the value of the humidity.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Humidity </value>
public float Humidity { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the in-vehicle state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> In-vehicle state </value>
public DetectorState InVehicle { get; private set; }
}
}
/// <summary>
/// Gets the level of the light.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Light level </value>
public float Level { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the linear acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the linear acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the linear acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the magnetometer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the magnetometer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the magnetometer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
/// <summary>
/// Gets the W component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> W </value>
public float W { get; private set; }
/// <summary>
/// Gets the accuracy of the magnetometer rotation vector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Accuracy </value>
public SensorDataAccuracy Accuracy { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the azimuth component of the orientation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Azimuth </value>
public float Azimuth { get; private set; }
/// <summary>
/// Gets the pitch component of the orientation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Pitch </value>
public float Pitch { get; private set; }
/// <summary>
/// Gets the roll component of the orientation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Roll </value>
public float Roll { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the step count
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Step count </value>
public uint StepCount { get; private set; }
/// <summary>
/// Gets the walking step count
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Walk step count </value>
public uint WalkStepCount { get; private set; }
/// <summary>
/// Gets the running step count
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Run step count</value>
public uint RunStepCount { get; private set; }
/// <summary>
/// Gets the moving distance
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Moving distance </value>
public float MovingDistance { get; private set; }
/// <summary>
/// Gets the calorie burned
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Calorie burned </value>
public float CalorieBurned { get; private set; }
/// <summary>
/// Gets the last speed
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Last speed </value>
public float LastSpeed { get; private set; }
/// <summary>
/// Gets the last stepping frequency
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Last stepping frequency </value>
public float LastSteppingFrequency { get; private set; }
/// <summary>
/// Gets the last step status
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Last stepping status </value>
public PedometerState LastStepStatus { get; private set; }
}
}
/// <summary>
/// Gets the pick up state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Pick up state </value>
public DetectorState PickUp { get; private set; }
}
}
/// <summary>
/// Gets the value of the pressure.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Pressure </value>
public float Pressure { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the proximity state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Proximity state </value>
public ProximitySensorState Proximity { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
/// <summary>
/// Gets the W component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> W </value>
public float W { get; private set;}
/// <summary>
/// Gets the accuracy of the rotation vector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Accuracy </value>
public SensorDataAccuracy Accuracy { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the running state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Running state </value>
public DetectorState Running { get; private set; }
}
}
/// <summary>
/// Gets the time stamp.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Time span </value>
public TimeSpan TimeSpan { get; private set; }
/// <summary>
/// Gets the accuracy.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Accuracy </value>
public SensorDataAccuracy Accuracy { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the value of the sleep state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Sleep state </value>
public SleepMonitorState SleepState { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the stationary state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Stationary state </value>
public DetectorState Stationary { get; private set; }
}
}
/// <summary>
/// Gets the value of the temperature.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Temperature </value>
public float Temperature { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the value of the ultraviolet index.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Ultraviolet index </value>
public float UltravioletIndex { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
/// <summary>
/// Gets the BiasX component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X bias </value>
public float BiasX { get; private set; }
/// <summary>
/// Gets the BiasY component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y bias </value>
public float BiasY { get; private set; }
/// <summary>
/// Gets the BiasZ component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z bias </value>
public float BiasZ { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the X component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; }
/// <summary>
/// Gets the Y component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; }
/// <summary>
/// Gets the Z component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; }
/// <summary>
/// Gets the BiasX component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X bias </value>
public float BiasX { get; private set; }
/// <summary>
/// Gets the BiasY component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y bias </value>
public float BiasY { get; private set; }
/// <summary>
/// Gets the BiasZ component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z bias </value>
public float BiasZ { get; private set; }
}
}
\ No newline at end of file
/// <summary>
/// Gets the walking state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Walking state </value>
public DetectorState Walking { get; private set; }
}
}
/// <summary>
/// Gets the wrist up state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Wrist up state </value>
public DetectorState WristUp { get; private set; }
}
}
/// <summary>
/// Gets the X component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether accelerometer sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of accelerometer sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of accelerometer sensors </value>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state</exception>
public static int Count
{
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.Accelerometer"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.accelerometer</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in accelerometer sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<AccelerometerDataUpdatedEventArgs> DataUpdated;
private static int GetCount()
/// <summary>
/// Gets the activity accuracy of activity detector
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Activity accuracy </value>
public SensorDataAccuracy ActivityAccuracy { get; protected set; }
internal ActivityDetector(uint index) : base(index)
/// <summary>
/// Gets the state of the face down gesture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Face down state </value>
public DetectorState FaceDown { get; private set; } = DetectorState.Unknown;
/// <summary>
/// Returns true or false based on whether face down gesture detector is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
}
/// <summary>
- /// Returns the number of face down gesture detector available on the device.
+ /// Returns the number of face down gesture detectors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of face down gesture detectors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.FaceDownGestureDetector"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.gesture_recognition</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in face down gesture detector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<FaceDownGestureDetectorDataUpdatedEventArgs> DataUpdated;
private static Interop.SensorListener.SensorEventCallback _callback;
/// <summary>
/// Gets the X component of the gravity.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the gravity.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the gravity.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether gravity sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of gravity sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of gravity sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.GravitySensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.gravity</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in gravity sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<GravitySensorDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Event handler for accuracy changed events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
{
add
/// <summary>
/// Gets the X component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether gyroscope sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of gyroscope sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of gyroscope sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.Gyroscope"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.gyroscope</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in gyroscope sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<GyroscopeDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Gets the X component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Gets the W component of the gyroscope rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> W </value>
public float W { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Accuracy of the gyroscope rotation vector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Accuracy </value>
public SensorDataAccuracy Accuracy { get; private set; }
/// <summary>
/// Returns true or false based on whether gyroscope rotation vector sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of gyroscope rotation vector sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of accelerometer rotation vector sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.GyroscopeRotationVectorSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.gyroscope_rotation_vector</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in gyroscope rotation vector sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<GyroscopeRotationVectorSensorDataUpdatedEventArgs> DataUpdated;
{
/// <summary>
/// HeartRateMonitor Class. Used for registering callbacks for heart rate monitor and getting heart rate data
- /// /// </summary>
+ /// </summary>
public sealed class HeartRateMonitor : Sensor
{
private const string HRMKey = "http://tizen.org/feature/sensor.heart_rate_monitor";
/// <summary>
/// Gets the value of the heart rate monitor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Heart rate </value>
public int HeartRate { get; private set; } = int.MinValue;
/// <summary>
/// Returns true or false based on whether heart rate monitor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of heart rate monitors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of heart rate monitors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.HeartRateMonitor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/healthinfo</privilege>
+ /// <privlevel>public</privlevel>
/// <feature>http://tizen.org/feature/sensor.heart_rate_monitor</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in heart rate monitor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<HeartRateMonitorDataUpdatedEventArgs> DataUpdated;
private static int GetCount()
{
/// <summary>
/// HumiditySensor Class. Used for registering callbacks for humidity sensor and getting humidity data
- /// /// </summary>
+ /// </summary>
public sealed class HumiditySensor : Sensor
{
private const string HumiditySensorKey = "http://tizen.org/feature/sensor.humidity";
/// <summary>
/// Gets the value of the humidity sensor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Humidity </value>
public float Humidity { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether humidity sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of humidity sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of humidity sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.HumiditySensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.humidity</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in humidity sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<HumiditySensorDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Gets the state of in-vehicle activity detector
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> In-vehicle state </value>
public DetectorState InVehicle { get; private set; } = DetectorState.Unknown;
/// <summary>
/// Returns true or false based on whether in-vehicle activity detector is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
}
/// <summary>
- /// Returns the number of in-vehicle activity detector available on the device.
+ /// Returns the number of in-vehicle activity detectors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of in-vehicle activity detectors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.InVehicleActivityDetector"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in in-vehicle activity detector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<InVehicleActivityDetectorDataUpdatedEventArgs> DataUpdated;
private static Interop.SensorListener.SensorEventCallback _callback;
{
/// <summary>
/// LightSensor Class. Used for registering callbacks for light sensor and getting light data
- /// /// </summary>
+ /// </summary>
public sealed class LightSensor : Sensor
{
private const string LightSensorKey = "http://tizen.org/feature/sensor.photometer";
/// <summary>
/// Gets the Level of the light.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Light level </value>
public float Level { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether light sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of light sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of light sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.LightSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.photometer</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in light sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<LightSensorDataUpdatedEventArgs> DataUpdated;
{
/// <summary>
/// LinearAccelerationSensor Class. Used for registering callbacks for linear acceleration sensor and getting linear acceleration data
- /// /// </summary>
+ /// </summary>
public sealed class LinearAccelerationSensor : Sensor
{
private const string LinearAccelerationSensorKey = "http://tizen.org/feature/sensor.linear_acceleration";
/// <summary>
/// Gets the X component of the linear acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the linear acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the linear acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether linear acceleration sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of linear acceleration sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of linear acceleration sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.LinearAccelerationSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.linear_acceleration</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in linear acceleration sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<LinearAccelerationSensorDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Event handler for accuracy changed events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
{
add
{
/// <summary>
/// Magnetometer Class. Used for registering callbacks for magnetometer and getting magnetometer data
- /// /// </summary>
+ /// </summary>
public sealed class Magnetometer : Sensor
{
private static string MagnetometerKey = "http://tizen.org/feature/sensor.magnetometer";
/// <summary>
/// Gets the X component of the magnetometer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the magnetometer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the magnetometer.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether magnetometer is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of magnetometers available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of magnetometers </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.Magnetometer"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.magnetometer</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<MagnetometerDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Event handler for accuracy changed events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
{
add
{
/// <summary>
/// MagnetometerRotationVectorSensor Class. Used for registering callbacks for magnetometer rotation vector sensor and getting magnetometer rotation vector data
- /// /// </summary>
+ /// </summary>
public sealed class MagnetometerRotationVectorSensor : Sensor
{
private static string MagnetometerRVKey = "http://tizen.org/feature/sensor.geomagnetic_rotation_vector";
/// <summary>
/// Gets the X component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Gets the W component of the magnetometer rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> W </value>
public float W { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Accuracy of the magnetometer rotation vector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Accuracy </value>
public SensorDataAccuracy Accuracy { get; private set; }
/// <summary>
/// Returns true or false based on whether magnetometer rotation vector sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of magnetometer rotation vector sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of magnetometer rotation vector sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.MagnetometerRotationVectorSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.geomagnetic_rotation_vector</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in magnetometer rotation vector sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<MagnetometerRotationVectorSensorDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Event handler for accuracy changed events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
{
add
{
/// <summary>
/// OrientationSensor Class. Used for registering callbacks for orientation sensor and getting orientation data
- /// /// </summary>
+ /// </summary>
public sealed class OrientationSensor : Sensor
{
private static string OrientationSensorKey = "http://tizen.org/feature/sensor.tiltmeter";
/// <summary>
/// Gets the Azimuth component of the orientation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Azimuth </value>
public float Azimuth { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Pitch component of the orientation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Pitch </value>
public float Pitch { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Roll component of the orientation.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Roll </value>
public float Roll { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether orientation sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of orientation sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of orientation sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.OrientationSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.tiltmeter</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in orientation sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<OrientationSensorDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Event handler for accuracy changed events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
{
add
{
/// <summary>
/// Pedometer Sensor Class. Used for registering callbacks for pedometer and getting pedometer data
- /// /// </summary>
+ /// </summary>
public sealed class Pedometer : Sensor
{
private static string PedometerKey = "http://tizen.org/feature/sensor.pedometer";
/// <summary>
/// Gets the step count
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Step count </value>
public uint StepCount { get; private set; } = 0;
/// <summary>
/// Gets the walking step count
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Walk step count </value>
public uint WalkStepCount { get; private set; } = 0;
/// <summary>
/// Gets the running step count
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Run step count </value>
public uint RunStepCount { get; private set; } = 0;
/// <summary>
/// Gets the moving distance
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Moving distance </value>
public float MovingDistance { get; private set; } = 0;
/// <summary>
/// Gets the calorie burned
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Calorie Burned </value>
public float CalorieBurned { get; private set; } = 0;
/// <summary>
/// Gets the last speed
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Last speed </value>
public float LastSpeed { get; private set; } = 0;
/// <summary>
/// Gets the last stepping frequency
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Last stepping frequency </value>
public float LastSteppingFrequency { get; private set; } = 0;
/// <summary>
/// Gets the last step status
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Last step status </value>
public PedometerState LastStepStatus { get; private set; } = PedometerState.Unknown;
/// <summary>
/// Returns true or false based on whether pedometer sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of pedometer sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of pedometer sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.Pedometer"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/healthinfo</privilege>
+ /// <privlevel>public</privlevel>
/// <feature>http://tizen.org/feature/sensor.pedometer</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in pedometer sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<PedometerDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Gets the state of the pick up gesture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Pick up state </value>
public DetectorState PickUp { get; private set; } = DetectorState.Unknown;
/// <summary>
/// Returns true or false based on whether pick up gesture detector is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
}
/// <summary>
- /// Returns the number of pick up gesture detector available on the device.
+ /// Returns the number of pick up gesture detectors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of pick up gesture detectors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.PickUpGestureDetector"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.gesture_recognition</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in pick up gesture detector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<PickUpGestureDetectorDataUpdatedEventArgs> DataUpdated;
private static Interop.SensorListener.SensorEventCallback _callback;
{
/// <summary>
/// PressureSensor Class. Used for registering callbacks for pressure sensor and getting pressure data
- /// /// </summary>
+ /// </summary>
public sealed class PressureSensor : Sensor
{
private static string PressureSensorKey = "http://tizen.org/feature/sensor.barometer";
/// <summary>
/// Gets the value of the pressure sensor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Pressure </value>
public float Pressure { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether pressure sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of pressure sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of pressure sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.PressureSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.barometer</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in pressure sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<PressureSensorDataUpdatedEventArgs> DataUpdated;
{
/// <summary>
/// ProximitySensor Class. Used for registering callbacks for proximity sensor and getting proximity data
- /// /// </summary>
+ /// </summary>
public sealed class ProximitySensor : Sensor
{
private static string ProximitySensorKey = "http://tizen.org/feature/sensor.proximity";
/// <summary>
/// Gets the proximity state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Proximity state </value>
public ProximitySensorState Proximity { get; private set; } = ProximitySensorState.Unknown;
/// <summary>
/// Returns true or false based on whether proximity sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of proximity sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of proximity sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.ProximitySensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.proximity</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in proximity sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<ProximitySensorDataUpdatedEventArgs> DataUpdated;
{
/// <summary>
/// RotationVectorSensor Class. Used for registering callbacks for rotation vector sensor and getting rotation vector data
- /// /// </summary>
+ /// </summary>
public sealed class RotationVectorSensor : Sensor
{
private static string RotationVectorKey = "http://tizen.org/feature/sensor.rotation_vector";
/// <summary>
/// Gets the X component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Gets the W component of the rotation vector.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> W </value>
public float W { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Accuracy of the rotation vector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Accuracy </value>
public SensorDataAccuracy Accuracy { get; private set; } = SensorDataAccuracy.Undefined;
/// <summary>
/// Returns true or false based on whether rotation vector sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of rotation vector sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of rotation vector sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.RotationVectorSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.rotation_vector</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in rotation vector sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<RotationVectorSensorDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Event handler for accuracy changed events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
{
add
/// <summary>
/// Gets the state of running activity detector
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Running state </value>
public DetectorState Running { get; private set; } = DetectorState.Unknown;
/// <summary>
/// Returns true or false based on whether running activity detector is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of running activity detector available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of running activity detectors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.RunningActivityDetector"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in running activity detector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<RunningActivityDetectorDataUpdatedEventArgs> DataUpdated;
private static Interop.SensorListener.SensorEventCallback _callback;
{
/// <summary>
/// SleepMonitor Class. Used for registering callbacks for sleep monitor and getting sleep data
- /// /// </summary>
+ /// </summary>
public sealed class SleepMonitor : Sensor
{
private static string SleepMonitorKey = "http://tizen.org/feature/sensor.sleep_monitor";
/// <summary>
/// Gets the value of the sleep state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Sleep state </value>
public SleepMonitorState SleepState { get; private set; } = SleepMonitorState.Unknown;
/// <summary>
/// Returns true or false based on whether sleep monitor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of sleep monitors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of sleep monitors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.SleepMonitor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/healthinfo</privilege>
+ /// <privlevel>public</privlevel>
/// <feature>http://tizen.org/feature/sensor.sleep_monitor</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in sleep monitor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SleepMonitorDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Gets the state of stationary activity detector
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Stationary state </value>
public DetectorState Stationary { get; private set; } = DetectorState.Unknown;
/// <summary>
/// Returns true or false based on whether stationary activity detector is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
}
/// <summary>
- /// Returns the number of stationary activity detector available on the device.
+ /// Returns the number of stationary activity detectors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of stationary activity detectors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.stationaryActivityDetector"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in stationary activity detector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<StationaryActivityDetectorDataUpdatedEventArgs> DataUpdated;
internal static Interop.SensorListener.SensorEventCallback _callback;
{
/// <summary>
/// TemperatureSensor Class. Used for registering callbacks for temperature sensor and getting temperature data
- /// /// </summary>
+ /// </summary>
public sealed class TemperatureSensor : Sensor
{
private static string TemperatureSensorKey = "http://tizen.org/feature/sensor.temperature";
/// <summary>
/// Gets the value of the temperature sensor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Temperature (Celsius) </value>
public float Temperature { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether temperature sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of temperature sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of temperature sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.TemperatureSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.temperature</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in temperature sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<TemperatureSensorDataUpdatedEventArgs> DataUpdated;
{
/// <summary>
/// UltravioletSensor Class. Used for registering callbacks for ultraviolet sensor and getting ultraviolet data
- /// /// </summary>
+ /// </summary>
public sealed class UltravioletSensor : Sensor
{
private static string UltravioletSensorKey = "http://tizen.org/feature/sensor.ultraviolet";
/// <summary>
/// Gets the value of the ultraviolet sensor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Ultraviolet index </value>
public float UltravioletIndex { get; private set; } = float.MinValue;
/// <summary>
/// Returns true or false based on whether ultraviolet sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of ultraviolet sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of ultraviolet sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.UltravioletSensor"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.ultraviolet</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in ultraviolet sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<UltravioletSensorDataUpdatedEventArgs> DataUpdated;
{
/// <summary>
/// UncalibratedGyroscope Sensor Class. Used for registering callbacks for uncalibrated gyroscope and getting uncalibrated gyroscope data
- /// /// </summary>
+ /// </summary>
public sealed class UncalibratedGyroscope : Sensor
{
private static string UncalibratedGyroscopeKey = "http://tizen.org/feature/sensor.gyroscope.uncalibrated";
/// <summary>
/// Gets the X component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Gets the BiasX component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X bias </value>
public float BiasX { get; private set; } = 0;
/// <summary>
/// Gets the BiasY component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y bias </value>
public float BiasY { get; private set; } = 0;
/// <summary>
/// Gets the BiasZ component of the uncalibrated gyroscope data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z bias </value>
public float BiasZ { get; private set; } = 0;
/// <summary>
/// Returns true or false based on whether uncalibrated gyroscope sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of uncalibrated gyroscope sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of uncalibrated gyroscope sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.UncalibratedGyroscope"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.gyroscope.uncalibrated</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in uncalibrated gyroscope sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<UncalibratedGyroscopeDataUpdatedEventArgs> DataUpdated;
{
/// <summary>
/// UncalibratedMagnetometer Sensor Class. Used for registering callbacks for uncalibrated magnetometer and getting uncalibrated magnetometer data
- /// /// </summary>
+ /// </summary>
public sealed class UncalibratedMagnetometer : Sensor
{
private static string UncalibratedMagnetometerKey = "http://tizen.org/feature/sensor.magnetometer.uncalibrated";
/// <summary>
/// Gets the X component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X </value>
public float X { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Y component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y </value>
public float Y { get; private set; } = float.MinValue;
/// <summary>
/// Gets the Z component of the acceleration.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z </value>
public float Z { get; private set; } = float.MinValue;
/// <summary>
/// Gets the BiasX component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> X bias </value>
public float BiasX { get; private set; } = 0;
/// <summary>
/// Gets the BiasY component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Y bias </value>
public float BiasY { get; private set; } = 0;
/// <summary>
/// Gets the BiasZ component of the uncalibrated magnetometer data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Z bias </value>
public float BiasZ { get; private set; } = 0;
/// <summary>
/// Returns true or false based on whether uncalibrated magnetometer sensor is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
/// <summary>
/// Returns the number of uncalibrated magnetometer sensors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of uncalibrated magnetometer sensors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.UncalibratedMagnetometer"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.magnetometer.uncalibrated</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in uncalibrated magnetometer sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<UncalibratedMagnetometerDataUpdatedEventArgs> DataUpdated;
/// <summary>
/// Event handler for accuracy changed events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
{
add
/// <summary>
/// Gets the state of walking activity detector
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Walking state </value>
public DetectorState Walking { get; private set; } = DetectorState.Unknown;
/// <summary>
/// Returns true or false based on whether walking activity detector is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
}
/// <summary>
- /// Returns the number of walking activity detector available on the device.
+ /// Returns the number of walking activity detectors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of walking activity detectors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.walkingActivityDetector"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in walking activity gesture detector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<WalkingActivityDetectorDataUpdatedEventArgs> DataUpdated;
internal static Interop.SensorListener.SensorEventCallback _callback;
/// <summary>
/// Gets the state of the wrist up gesture.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> Wrist up state </value>
public DetectorState WristUp { get; private set; } = DetectorState.Unknown;
/// <summary>
/// Returns true or false based on whether wrist up gesture detector is supported by device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
public static bool IsSupported
{
get
}
/// <summary>
- /// Returns the number of wrist up gesture detector available on the device.
+ /// Returns the number of wrist up gesture detectors available on the device.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The count of wrist up gesture detectors </value>
public static int Count
{
get
/// <summary>
/// Initializes a new instance of the <see cref="Tizen.Sensor.WristUpGestureDetector"/> class.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/sensor.wrist_up</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
/// <exception cref="NotSupportedException">Thrown when the sensor is not supported</exception>
/// <summary>
/// Event Handler for storing the callback functions for event corresponding to change in wrist up gesture detector data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandler<WristUpGestureDetectorDataUpdatedEventArgs> DataUpdated;
private static Interop.SensorListener.SensorEventCallback _callback;
/// <summary>
/// Property: For getting the name of the sensor
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The name of sensor </value>
public string Name
{
get
/// <summary>
/// Property: Gets the vendor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The vendor name of sensor </value>
public string Vendor
{
get
/// <summary>
/// Property: Gets the minimum value of range of sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The lower bound of range of sensor reading </value>
public float MinValue
{
get
/// <summary>
/// Property: Gets the maximum value of range of sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The upper bound of range of sensor reading </value>
public float MaxValue
{
get
/// <summary>
/// Property: Gets the resolution.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The resolution </value>
public float Resolution
{
get
/// <summary>
/// Property: Gets the minimum interval.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The minimum update interval </value>
public int MinInterval
{
get
/// <summary>
/// Property: Gets the fifo count.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The size of the hardware FIFO </value>
public int FifoCount
{
get
/// <summary>
/// Property: Gets the maximum batch count.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The maximum batch count </value>
public int MaxBatchCount
{
get
/// Sets the interval of the sensor for sensor data event
/// Callbacks will be called at frequency of this interval
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state</exception>
+ /// <value> The interval of the sensor </value>
public uint Interval
{
set
/// <summary>
/// Sets the max batch latency for the sensor corresponding to the sensor data event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state</exception>
+ /// <value> The max batch latency </value>
public uint MaxBatchLatency
{
set
/// <summary>
/// Sets the pause policy of the sensor.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>The pause policy</value>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state</exception>
+ /// <value> The pause policy </value>
public SensorPausePolicy PausePolicy
{
set
/// <summary>
/// Gets or sets the time span.
/// </summary>
- /// <value>The time span.</value>
+ /// <since_tizen> 3 </since_tizen>
+ /// <value> The time span </value>
public TimeSpan TimeSpan
{
set
/// <summary>
/// Indicates whether this sensor is sensing.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value><c>true</c> if this sensor is sensing; otherwise, <c>false</c>.</value>
public bool IsSensing
{
/// Starts the sensor.
/// After this the event handlers will start receiving events.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state</exception>
public void Start()
{
/// Stop the sensor.
/// After this the event handlers will stop receiving the events
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state</exception>
public void Stop()
{
/// <summary>
/// SensorDataAccuracy Enum definition for all possible sensor data accuracy Values.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum SensorDataAccuracy
{
/// <summary>
/// Undefined sensor data accuracy.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Undefined = -1,
/// <summary>
/// Sensor data not accurate.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Bad = 0,
/// <summary>
/// Moderately accurate sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Normal = 1,
/// <summary>
/// Highly accurate sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Good = 2,
/// <summary>
/// Very highly accurate sensor data.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
VeryGood = 3
}
/// <summary>
/// Sensor Option Enum definition for sensor option Values
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum SensorPausePolicy
{
/// <summary>
/// Does not receive data when the LCD is off and in the power save mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
None,
/// <summary>
/// Receives data when the LCD is off.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
DisplayOff,
/// <summary>
/// Receives data in the power save mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
PowerSaveMode,
/// <summary>
/// Receives data when the LCD is off and in the power save mode.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
All
}
/// <summary>
/// Pedometer state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum PedometerState
{
/// <summary>
/// Unknown.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Unknown = -1,
/// <summary>
/// Stop state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Stop,
/// <summary>
/// Walking state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Walk,
/// <summary>
/// Running state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Run
}
/// <summary>
/// Sleep monitor state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum SleepMonitorState
{
/// <summary>
/// Unknown.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Unknown = -1,
/// <summary>
/// The wake state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Wake,
/// <summary>
/// The sleeping state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Sleep
}
/// <summary>
/// Proximity sensor state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ProximitySensorState
{
/// <summary>
/// Unknown.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Unknown = -1,
/// <summary>
/// Near sate.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Near = 0,
/// <summary>
/// Far state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Far = 5
}
/// <summary>
/// Detector sensor state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum DetectorState
{
/// <summary>
/// Unknown.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Unknown = -1,
/// <summary>
/// None sate.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
NotDetected = 0,
/// <summary>
/// Detected state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
Detected = 1
}
}