namespace Tizen.Sensor
{
/// <summary>
- /// StationaryActivityDetector Class. Used for registering callbacks for stationary activity detector and getting the stationary state
+ /// The StationaryActivityDetector class is used for registering callbacks for the stationary activity detector and getting the stationary state.
/// </summary>
public sealed class StationaryActivityDetector : ActivityDetector
{
private static string ActivityDetectorKey = "http://tizen.org/feature/sensor.activity_recognition";
/// <summary>
- /// Gets the state of stationary activity detector
+ /// Gets the state of the stationary activity detector.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- /// <value> Stationary state </value>
+ /// <value> The 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.
+ /// Returns true or false based on whether the stationary activity detector is supported by the device.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- /// <value><c>true</c> if supported; otherwise, <c>false</c>.</value>
+ /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
public static bool IsSupported
{
get
/// 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>
+ /// <value> The count of stationary activity detectors. </value>
public static int Count
{
get
/// </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>
- /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state</exception>
+ /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
+ /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
/// <param name='index'>
/// Index. Default value for this is 0. Index refers to a particular stationary activity detector in case of multiple sensors.
/// </param>
}
/// <summary>
- /// Event Handler for storing the callback functions for event corresponding to change in stationary activity detector data.
+ /// An event handler for storing the callback functions for the event corresponding to the change in the stationary activity detector data.
/// </summary>
/// <since_tizen> 3 </since_tizen>
public event EventHandler<StationaryActivityDetectorDataUpdatedEventArgs> DataUpdated;