Class ZoneChangedEventArgs

Definition

Namespace:
Tizen.Location
Assembly:
Tizen.Location.dll

An extended EventArgs class which contains the changed zone status.

C#
Copy
public class ZoneChangedEventArgs : EventArgs
Inheritance
object
System.EventArgs
ZoneChangedEventArgs

Constructors

View Source

ZoneChangedEventArgs(BoundaryState, double, double, double, DateTime)

The class constructor for the ZoneChangedEventArgs class.

Declaration
C#
Copy
public ZoneChangedEventArgs(BoundaryState state, double latitude, double longitude, double altitude, DateTime timestamp)
Parameters
Type Name Description
BoundaryState state

An enumeration of type BoundaryState.

double latitude

The latitude value [-90.0 ~ 90.0] (degrees).

double longitude

The longitude value [-180.0 ~ 180.0] (degrees).

double altitude

The altitude value.

System.DateTime timestamp

The timestamp value.

Properties

View Source

Altitude

Gets the altitude.

Declaration
C#
Copy
public double Altitude { get; }
Property Value
Type Description
double
View Source

BoundState

Gets the boundary state.

Declaration
C#
Copy
public BoundaryState BoundState { get; }
Property Value
Type Description
BoundaryState
View Source

Latitude

Gets the latitude.

Declaration
C#
Copy
public double Latitude { get; }
Property Value
Type Description
double
View Source

Longitude

Gets the longitude.

Declaration
C#
Copy
public double Longitude { get; }
Property Value
Type Description
double
View Source

Timestamp

Method to get the timestamp.

Declaration
C#
Copy
public DateTime Timestamp { get; }
Property Value
Type Description
System.DateTime