/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ using System; namespace Tizen.Location { /// /// An extended EventArgs class which contains the changed zone status. /// /// 3 public class ZoneChangedEventArgs : EventArgs { /// /// The class constructor for the ZoneChangedEventArgs class. /// /// 3 /// An enumeration of type BoundaryState. /// The latitude value [-90.0 ~ 90.0] \(degrees). /// The longitude value [-180.0 ~ 180.0] \(degrees). /// The altitude value. /// The timestamp value. public ZoneChangedEventArgs(BoundaryState state, double latitude, double longitude, double altitude, DateTime timestamp) { BoundState = state; Latitude = latitude; Longitude = longitude; Altitude = altitude; Timestamp = timestamp; } /// /// Gets the boundary state. /// /// 3 public BoundaryState BoundState { get; private set; } /// /// Gets the latitude. /// /// 3 public double Latitude { get; private set; } /// /// Gets the longitude. /// /// 3 public double Longitude { get; private set; } /// /// Gets the altitude. /// /// 3 public double Altitude { get; private set; } /// /// Method to get the timestamp. /// /// 3 public DateTime Timestamp { get; private set; } } }