<ItemGroup>
<PackageReference Include="Tizen" Version="1.0.5" />
</ItemGroup>
-
+
</Project>
/// <summary>
/// A class which contains the functionality for obtaining information about Gps satellites in range and in use.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class GpsSatellite
{
private int _interval = 1;
/// The time interval between callback updates.
/// Should be in the range [1~120] seconds.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public int Interval
/// <summary>
/// The NMEAData from the Satellite.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <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="UnauthroizedAccessException">Thrown when the app has no privilege to use the location.</exception>
/// <summary>
/// The Count of Active satellites.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <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>
/// <summary>
/// The Count of satellites in view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <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>
/// <summary>
/// The list of satellites/last recorded satellites in view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <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>
/// <summary>
/// The constructor of GpsSatellite class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="locator"> Locator object initilized using Gps.</param>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
public GpsSatellite(Locator locator)
/// (event) SatelliteStatusUpdated is raised whenever satellite information is updated.
/// The callback will be invoked periodically (every Interval seconds).
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="UnauthroizedAccessException">Thrown when the app has no privilege to use the location.</exception>
/// <summary>
/// A class which contains the information of the Satellite under consideration.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class SatelliteInformation
{
/// <summary>
/// Class Constructor for SatelliteInformation class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="azimuth"> The azimuth value of the satellite in degrees.</param>
/// <param name="elevation"> The elevation of the satellite in meters.</param>
/// <param name="prn"> The Prn value of the satellite.</param>
/// <summary>
/// The Azimuth information of the Satellite.
/// </summary>
+ /// <since_tizen>3</since_tizen>
+ /// <param name="azimuth"> The azimuth value of the satellite in degrees.</param>
public uint Azimuth { get; private set; }
/// <summary>
/// The Elevation information of the Satellite.
/// </summary>
+ /// <since_tizen>3</since_tizen>
+ /// <param name="azimuth"> The azimuth value of the satellite in degrees.</param>
public uint Elevation { get; private set; }
/// <summary>
/// The PRN of the Satellite.
/// </summary>
+ /// <since_tizen>3</since_tizen>
+ /// <param name="azimuth"> The azimuth value of the satellite in degrees.</param>
public uint Prn { get; private set; }
/// <summary>
/// The SNR of the Satellite.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public uint Snr { get; private set; }
/// <summary>
/// The operational status of the Satellite.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public bool Active { get; private set; }
}
}
/// A class which contains the details of the location rrequested.
/// Includes the functionality to get the distance between locations.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Location
{
private double _latitude;
/// <summary>
/// The default constructor of Location Class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Location()
{
}
/// <summary>
/// The parameterized constructor of Location Class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="latitude"> Latitude component of the device co-ordinate [-90.0 ~ 90.0] (degrees).</param>
/// <param name="longitude"> Longitude component of the device co-ordinate[-180.0 ~ 180.0] (degrees).</param>
/// <param name="altitude"> Altitude value.</param>
/// <summary>
/// The current latitude [-90.0 ~ 90.0] (degrees).
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Latitude
{
get
/// <summary>
/// The current longitude [-180.0 ~ 180.0] (degrees).
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Longitude
{
get
/// <summary>
/// The current altitude (meters).
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Altitude
{
get
/// <summary>
/// The Device Speed (km/h).
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Speed
{
get
/// <summary>
/// The direction, degrees from the north.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Direction
{
get
/// <summary>
/// The accuracy.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Accuracy
{
get
/// <summary>
/// The time value when the measurement was done.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public DateTime Timestamp
{
get
/// <summary>
/// Gets the distance between the two given coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="startLatitude"> The latitude of the source location [-90.0 ~ 90.0] (degrees).</param>
/// <param name="startLongitude"> The Longitude of the source location[-180.0 ~ 180.0] (degrees).</param>
/// <param name="endLatitude"> The latitude of the source location [-90.0 ~ 90.0] (degrees).</param>
/// <summary>
/// Gets the distance between the current and specified location.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="location"> The location object to which distance is to be calculated.</param>
/// <returns>Returns the distance to the specified location.</returns>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <summary>
/// Abstract class which provides functions related to geographic bounds information.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public abstract class LocationBoundary : IDisposable
{
internal IntPtr handle;
/// <summary>
/// Gets the location boundary type.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public BoundaryType BoundaryType{ get; internal set; }
internal LocationBoundary() { }
/// <summary>
/// The destructor of LocationBoundary class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
~LocationBoundary()
{
Log.Info(Globals.LogTag, "The destructor of LocationBoundary class");
/// <summary>
/// Checks if the boundary contains the specified geographical coordinates.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinate"> The coordinate which needs to be checked.</param>
/// <returns>Returns a boolean value indicating whether or not the specified coordinate lies in the geographical area.</returns>
public bool BoundaryContainsCoordinates(Coordinate coordinate)
/// <summary>
/// The overidden Dispose method of the IDisposable class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public void Dispose()
/// Class representing a rectangular location boundary.
/// Inherits the Abstract LocationBoundary class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class RectangleBoundary : LocationBoundary
{
/// <summary>
/// Constructor of the Rectangle boundary class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="topLeft"> The coordinate which constitute the top left handside of the rectangular boundary.</param>
/// <param name="bottomRight"> The coordinate which constitute the bottom right handside of the rectangular boundary.</param>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
/// <summary>
/// Gets the Top Left handside coordinate of a rectangular boundary.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Coordinate TopLeft
{
get
/// <summary>
/// Gets the Bottom Right handside coordinate of a rectangular boundary.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Coordinate BottomRight
{
get
/// Class representing a circular location boundary.
/// Inherits the Abstract LocationBoundary class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class CircleBoundary : LocationBoundary
{
/// <summary>
/// Constructor of the Circular boundary class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinate"> The coordinates which constitute the center of the circular boundary.</param>
/// <param name="radius"> The radius value of the circular boundary.</param>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
/// <summary>
/// Gets the coordinate of the center of a circular boundary.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <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 location is not supported.</exception>
/// <summary>
/// Gets the radius of a circular boundary.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <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 location is not supported.</exception>
/// Class representing a polygonal location boundary.
/// Inherits the Abstract LocationBoundary class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class PolygonBoundary : LocationBoundary
{
/// <summary>
/// Constructor of the polygon boundary class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="coordinates"> The coordinates which constitute the polgonal boundary.</param>
/// <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>
/// <summary>
/// Gets the list of coordinates which constitute a polygonal boundary
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <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 location is not supported.</exception>
/// <summary>
/// The structure which represents the co-ordinates of a geographical location.
/// </summary>
+ /// <since_tizen>3</since_tizen>
[StructLayout(LayoutKind.Sequential)]
public struct Coordinate
{
/// Latitude component of the co-ordinate.
/// Should have a value between [-90.0 ~ 90.0] (degrees).
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Latitude;
/// <summary>
/// Longitude component of the co-ordinate.
/// Should have a value between [-180.0 ~ 180.0] (degrees).
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Longitude;
}
}
/// <summary>
/// An extended EventArgs class which contains the changed location information.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class LocationChangedEventArgs : EventArgs
{
/// <summary>
/// Class Constructor for LocationUpdatedEventArgs class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="location"> Object of Location class.</param>
public LocationChangedEventArgs(Location location)
{
/// <summary>
/// Get the Location Update information.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Location Location { get; private set; }
}
}
/// <summary>
/// Location Manager error codes.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum LocationError
{
None = ErrorCode.None,/**< Successful */
/// <summary>
/// Location Boundary error codes.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum LocationBoundError
{
None = ErrorCode.None,/**< Successful */
/// Notifications on events like service becoming enabled or disabled, new position data being available
/// and others can also be acquired.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public class Locator : IDisposable
{
private int _interval = 1;
/// <summary>
/// The constructor of Locator class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="locationType"> The back-end positioning method to be used for LBS.</param>
/// <feature>http://tizen.org/feature/location</feature>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
/// <summary>
/// The destructor of Locator class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
~Locator()
{
Dispose(false);
/// The time interval between callback updates.
/// Should be in the range [1~120] seconds.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public int Interval
/// The time interval between Distance based location callback updates.
/// Should be in the range [1~120] seconds.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public int StayInterval
/// The distance between callback updates.
/// Should be in the range [1-120] meters.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public double Distance
/// <summary>
/// Gets the Location object.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public Location Location
{
get
/// <summary>
/// Gets the type used to obtain Location data.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public LocationType LocationType
{
get
/// <summary>
/// Gets the status whether mock location is enabled or not.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <exception cref="UnauthroizedAccessException">Thrown when the app has no privilege to use the location.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
private bool GetEnableMock()
{
- bool status = false;
+ bool status = false;
int ret = Interop.Locator.IsEnabledMock(out status);
if (((LocationError)ret != LocationError.None))
{
Log.Error(Globals.LogTag, "Error Get Enable Mock Status," + (LocationError)ret);
throw LocationErrorFactory.ThrowLocationException(ret);
}
- return status;
+ return status;
}
private void SetEnableMock()
/// <summary>
/// Starts the Location Manager which has been created using the specified method.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <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>
/// Stops the Location Manager which has been activated using the specified method.
/// Does not destroy the manager.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <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 location is not supported.</exception>
/// <summary>
/// Sets a mock location for the given location method.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="location"> The location object containing the mock location details.</param>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
/// <summary>
/// Clears a mock location for the given location method.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <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>
/// <summary>
/// Gets the details of the location asynchronously.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="timeout"> Timeout to stop requesting single location after(seconds).</param>
/// <returns> A task which contains the current location details</returns>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <summary>
/// Gets the details of the location.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <returns> which contains the current location details.</returns>
/// <privilege>http://tizen.org/privilege/location</privilege>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
/// <summary>
/// Adds a bounds for a given locator.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="locationBoundary"> The boundary object to be added to the locator.</param>
/// <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>
/// <summary>
/// Deletes a bounds for a given locator.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="locationBoundary"> The boundary object to be removed from the locator.</param>
/// <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>
/// <summary>
/// The overidden Dispose method of the IDisposable class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public void Dispose()
/// <summary>
/// (event) ServiceStateChanged Event is invoked when the location service state is changed.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public event EventHandler<ServiceStateChangedEventArgs> ServiceStateChanged
/// <summary>
/// (event) ZoneChanged is invoked when the previously set boundary area is entered or left.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public event EventHandler<ZoneChangedEventArgs> ZoneChanged
/// <summary>
/// (event) SetttingChanged is raised when the location setting is changed.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <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 location is not supported.</exception>
/// (event) DistanceBasedLocationChanged is raised with updated location information.
/// The callback will be invoked at minimum interval or minimum distance with updated position information.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public event EventHandler<LocationChangedEventArgs> DistanceBasedLocationChanged
/// (event)LocationUpdated is raised at defined intervals of time with updated location information.
/// The callback will be invoked periodically.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="NotSupportedException">Thrown when the location is not supported.</exception>
public event EventHandler<LocationChangedEventArgs> LocationChanged
/// <summary>
/// Enumeration for the state of the location service.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum ServiceState
{
Disabled = 0, /**<Service is disabled.*/
/// <summary>
/// Enumeration for the type of connection used in acquiring Location data.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum LocationType
{
Hybrid = 0, /**<This method selects the best method available at the moment.*/
/// <summary>
/// Enumeration for the created boundary type.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum BoundaryType
{
Rectangle = 0, /**<Rectangular geographical area type. */
/// <summary>
/// Enumeration for error code for Location manager.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public enum BoundaryState
{
In = 0, /**< Boundary In (Zone In) */
/// <summary>
/// Checks if the specified geographical positioning type is supported or not.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="locationType"> The back-end positioning method to be used for LBS.</param>
/// <returns>Returns a boolean value indicating whether or not the specified method is supported.</returns>
public static bool IsSupportedType(LocationType locationType)
/// <summary>
/// Checks if the specified geographical positioning type is enabled or not.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="locationType"> The back-end positioning method to be used for LBS.</param>
/// <returns>Returns a boolean value indicating whether or not the specified method is supported.</returns>
/// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
/// <summary>
/// Class Constructor for SatelliteStatusChangedEventArgs class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="activeCount"> The number of active satellites.</param>
/// <param name="inviewCount"> The number of satellites in view.</param>
/// <param name="timestamp"> The time at which the data has been extracted.</param>
/// <summary>
/// Gets the number of active satellites.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public uint ActiveCount { get; private set; }
/// <summary>
/// Gets the number of satellites in view.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public uint InViewCount { get; private set; }
/// <summary>
/// Get the timestamp.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public DateTime Timestamp { get; private set; }
}
}
/// <summary>
/// Class Constructor for ServiceStateChangedEventArgs class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="state"> An enumeration of type LocationServiceState.</param>
public ServiceStateChangedEventArgs(ServiceState state)
{
/// <summary>
/// Get the Service state.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public ServiceState ServiceState { get; private set; }
}
}
/// <summary>
/// Class Constructor for SettingChangedEventArgs class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="method"> The positioing method used for Location information.</param>
/// <param name="enable"> Status of the method.</param>
public SettingChangedEventArgs(LocationType type, bool enable)
/// <summary>
/// Gets the currently used location method.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public LocationType LocationType { get; private set; }
/// <summary>
/// Method to get the setting value changed.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public bool IsEnabled { get; private set; }
}
}
/// <summary>
/// Class Constructor for ZoneChangedEventArgs class.
/// </summary>
+ /// <since_tizen>3</since_tizen>
/// <param name="state"> An enumeration of type BoundaryState.</param>
/// <param name="latitude"> The latitude value[-90.0 ~ 90.0] (degrees).</param>
/// <param name="longitude"> The longitude value[-180.0 ~ 180.0] (degrees).</param>
/// <summary>
/// Get the Boundary State.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public BoundaryState BoundState { get; private set; }
/// <summary>
/// Get the latitude.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Latitude { get; private set; }
/// <summary>
/// Get the longitude.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Longitude { get; private set; }
/// <summary>
/// Get the altitude.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public double Altitude { get; private set; }
/// <summary>
/// Method to get the timestamp.
/// </summary>
+ /// <since_tizen>3</since_tizen>
public DateTime Timestamp { get; private set; }
}
}