summaryrefslogtreecommitdiff
path: root/Tizen.Sensor/Tizen.Sensor/EventArgs/UltravioletSensorDataUpdatedEventArgs.cs
blob: de899bdeca04089d9cfa492e1a21dbd7750be9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2016 by Samsung Electronics, Inc.,
//
// This software is the confidential and proprietary information
// of Samsung Electronics, Inc. ("Confidential Information"). Pitchou
// shall not disclose such Confidential Information and shall use
// it only in accordance with the terms of the license agreement
// you entered into with Samsung.

using System;

namespace Tizen.Sensor
{
    /// <summary>
    /// UltravioletSensor changed event arguments. Class for storing the data returned by ultraviolet sensor
    /// </summary>
    public class UltravioletSensorDataUpdatedEventArgs : EventArgs
    {
        internal UltravioletSensorDataUpdatedEventArgs(float ultravioletIndex)
        {
            UltravioletIndex = ultravioletIndex;
        }

        /// <summary>
        /// Gets the value of the ultraviolet index.
        /// </summary>
        public float UltravioletIndex { get; private set; }
    }
}