From: priyakohl <114220343+priyakohl@users.noreply.github.com> Date: Tue, 25 Jul 2023 07:18:29 +0000 (+0530) Subject: Deprecating Tizen.Maps APIs (#5108) X-Git-Tag: submit/tizen/20230725.081333~1^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0ff98b21ec7dbffe284ed693bd570dac0d6b33f;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Deprecating Tizen.Maps APIs (#5108) * Deprecating Tizen.Maps API Signed-off-by: priya kohli * Updating Code --------- Signed-off-by: priya kohli --- diff --git a/src/Tizen.Maps/Tizen.Maps/Area.cs b/src/Tizen.Maps/Tizen.Maps/Area.cs index b144cc9ca..71ed1d86f 100755 --- a/src/Tizen.Maps/Tizen.Maps/Area.cs +++ b/src/Tizen.Maps/Tizen.Maps/Area.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// The class representing a geographical area. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13")] public class Area : IDisposable { internal Interop.AreaHandle handle; @@ -77,6 +78,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -90,6 +92,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/Direction.cs b/src/Tizen.Maps/Tizen.Maps/Direction.cs index e479d8ab3..8af196535 100755 --- a/src/Tizen.Maps/Tizen.Maps/Direction.cs +++ b/src/Tizen.Maps/Tizen.Maps/Direction.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// The direction types for route maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum DirectionType { /// diff --git a/src/Tizen.Maps/Tizen.Maps/DistanceUnit.cs b/src/Tizen.Maps/Tizen.Maps/DistanceUnit.cs index f96b13d73..9c0655da2 100755 --- a/src/Tizen.Maps/Tizen.Maps/DistanceUnit.cs +++ b/src/Tizen.Maps/Tizen.Maps/DistanceUnit.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// The allowed distance units. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum DistanceUnit { /// diff --git a/src/Tizen.Maps/Tizen.Maps/GeocodeRequest.cs b/src/Tizen.Maps/Tizen.Maps/GeocodeRequest.cs index bf588855d..1578d9922 100755 --- a/src/Tizen.Maps/Tizen.Maps/GeocodeRequest.cs +++ b/src/Tizen.Maps/Tizen.Maps/GeocodeRequest.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Geocode request for the map service. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class GeocodeRequest : MapServiceRequest { private Interop.GeocodeCallback _geocodeCallback; @@ -73,6 +74,7 @@ namespace Tizen.Maps }); } + [Obsolete("Deprecated since API11. Might be removed in API13.")] private GeocodeRequest(MapService service, ServiceRequestType type) : base(service, type) { // The Maps Service invokes this callback while iterating through the list of obtained coordinates of the specified place. diff --git a/src/Tizen.Maps/Tizen.Maps/Geocoordinates.cs b/src/Tizen.Maps/Tizen.Maps/Geocoordinates.cs index 1bf6e96b7..130abd847 100755 --- a/src/Tizen.Maps/Tizen.Maps/Geocoordinates.cs +++ b/src/Tizen.Maps/Tizen.Maps/Geocoordinates.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// A class representing geographical coordinates. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Geocoordinates : IDisposable { internal Interop.CoordinatesHandle handle; @@ -34,6 +35,7 @@ namespace Tizen.Maps /// Longitude value must be between (-180.0 ~ 180.0) degrees. /// Thrown when values for latitude and longitude are not valid. /// Thrown when a native operation fails to allocate memory. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates(double latitude, double longitude) { handle = new Interop.CoordinatesHandle(latitude, longitude); @@ -56,6 +58,7 @@ namespace Tizen.Maps /// Gets the latitude coordinates. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double Latitude { get @@ -68,6 +71,7 @@ namespace Tizen.Maps /// Gets the longitude coordinates. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double Longitude { get @@ -81,6 +85,7 @@ namespace Tizen.Maps /// /// 3 /// Returns a string that represents this object. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override string ToString() { return $"[{Latitude}, {Longitude}]"; @@ -94,6 +99,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -107,6 +113,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/GeocoordinatesList.cs b/src/Tizen.Maps/Tizen.Maps/GeocoordinatesList.cs index 59105d943..724929023 100755 --- a/src/Tizen.Maps/Tizen.Maps/GeocoordinatesList.cs +++ b/src/Tizen.Maps/Tizen.Maps/GeocoordinatesList.cs @@ -63,6 +63,7 @@ namespace Tizen.Maps /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -76,6 +77,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/GestureType.cs b/src/Tizen.Maps/Tizen.Maps/GestureType.cs index b17b4f015..01e4d20fb 100755 --- a/src/Tizen.Maps/Tizen.Maps/GestureType.cs +++ b/src/Tizen.Maps/Tizen.Maps/GestureType.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Enumeration for the user gesture over a map view. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum GestureType { /// diff --git a/src/Tizen.Maps/Tizen.Maps/IGeocodePreference.cs b/src/Tizen.Maps/Tizen.Maps/IGeocodePreference.cs index a0fdf0d2a..c84112657 100755 --- a/src/Tizen.Maps/Tizen.Maps/IGeocodePreference.cs +++ b/src/Tizen.Maps/Tizen.Maps/IGeocodePreference.cs @@ -14,6 +14,7 @@ * limitations under the License. */ +using System; namespace Tizen.Maps { @@ -21,6 +22,7 @@ namespace Tizen.Maps /// The preference for geocode searches. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public interface IGeocodePreference { /// @@ -29,6 +31,7 @@ namespace Tizen.Maps /// 3 /// Language should be specified as an ISO 3166 alpha-2 two-letter country-code /// followed by ISO 639-1 for the two-letter language code.
e.g. "ko-KR", "en-US".
+ [Obsolete("Deprecated since API11. Might be removed in API13.")] string Language { get; set; } /// @@ -36,6 +39,7 @@ namespace Tizen.Maps /// /// 3 /// Setting a negative value will not have any effect on MaxResults value. + [Obsolete("Deprecated since API11. Might be removed in API13.")] int MaxResults { get; set; } } } diff --git a/src/Tizen.Maps/Tizen.Maps/IPlaceSearchPreference.cs b/src/Tizen.Maps/Tizen.Maps/IPlaceSearchPreference.cs index bb6cab461..63b55d2cc 100755 --- a/src/Tizen.Maps/Tizen.Maps/IPlaceSearchPreference.cs +++ b/src/Tizen.Maps/Tizen.Maps/IPlaceSearchPreference.cs @@ -14,7 +14,7 @@ * limitations under the License. */ - +using System; using System.Collections.Generic; namespace Tizen.Maps @@ -23,12 +23,14 @@ namespace Tizen.Maps /// The preferences for a place search. ///
/// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public interface IPlaceSearchPreference { /// /// Gets or sets the distance unit. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] DistanceUnit Unit { get; set; } /// @@ -37,24 +39,28 @@ namespace Tizen.Maps /// 3 /// Language should be specified as an ISO 3166 alpha-2 two letter country-code /// followed by ISO 639-1 for the two-letter language code.
e.g. "ko-KR", "en-US".
+ [Obsolete("Deprecated since API11. Might be removed in API13.")] string Language { get; set; } /// /// Gets or sets the maximum number of results. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] int MaxResults { get; set; } /// /// Gets or sets a string that represents the code of a preferred country. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] string CountryCode { get; set; } /// /// Gets or sets the search properties as a key value pair. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] IReadOnlyDictionary Properties { get; set; } } } diff --git a/src/Tizen.Maps/Tizen.Maps/IRouteSearchPreference.cs b/src/Tizen.Maps/Tizen.Maps/IRouteSearchPreference.cs index 31a34cf50..ce81fa965 100755 --- a/src/Tizen.Maps/Tizen.Maps/IRouteSearchPreference.cs +++ b/src/Tizen.Maps/Tizen.Maps/IRouteSearchPreference.cs @@ -14,6 +14,7 @@ * limitations under the License. */ +using System; namespace Tizen.Maps { @@ -21,42 +22,49 @@ namespace Tizen.Maps /// The preferences for route search. ///
/// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public interface IRouteSearchPreference { /// /// Gets or sets the distance unit. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] DistanceUnit Unit { get; set; } /// /// Gets or sets the route optimization. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] RouteOptimization Optimization { get; set; } /// /// Gets or sets the route transport mode. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] TransportMode Mode { get; set; } /// /// Gets or sets the route feature weight. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] RouteFeatureWeight RouteFeatureWeight { get; set; } /// /// Gets or sets the route feature. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] RouteFeature RouteFeature { get; set; } /// /// Gets or sets if a search for alternative routes is enabled. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] bool SearchAlternativeRoutes { get; set; } } } diff --git a/src/Tizen.Maps/Tizen.Maps/MapGestureEventArgs.cs b/src/Tizen.Maps/Tizen.Maps/MapGestureEventArgs.cs index ba7789b61..f4490c974 100755 --- a/src/Tizen.Maps/Tizen.Maps/MapGestureEventArgs.cs +++ b/src/Tizen.Maps/Tizen.Maps/MapGestureEventArgs.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Event arguments for gesture type map events. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class MapGestureEventArgs : EventArgs { internal MapGestureEventArgs(IntPtr nativeHandle) @@ -42,36 +43,42 @@ namespace Tizen.Maps /// Gets the type of gesture event. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public GestureType GestureType { get; } /// /// Gets screen coordinates in the event. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Point Position { get; } /// /// Gets the number of fingers detected in the event. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int TouchCount { get; } /// /// Gets the zoom factor for zoom gesture event. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double ZoomFactor { get; } /// /// Gets the angle of rotation for rotate gesture event. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double RotationAngle { get; } /// /// Gets the geographical coordinates for the event. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Geocoordinates { get; } } } diff --git a/src/Tizen.Maps/Tizen.Maps/MapObject.cs b/src/Tizen.Maps/Tizen.Maps/MapObject.cs index 4b4b9a672..141de7e9f 100755 --- a/src/Tizen.Maps/Tizen.Maps/MapObject.cs +++ b/src/Tizen.Maps/Tizen.Maps/MapObject.cs @@ -14,6 +14,7 @@ * limitations under the License. */ +using System; namespace Tizen.Maps { @@ -21,6 +22,7 @@ namespace Tizen.Maps /// The map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public abstract class MapObject { internal MapObject() { } @@ -29,6 +31,7 @@ namespace Tizen.Maps /// Gets or sets visibility of the map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public abstract bool IsVisible { get; set; } internal abstract void HandleClickedEvent(); diff --git a/src/Tizen.Maps/Tizen.Maps/MapService.cs b/src/Tizen.Maps/Tizen.Maps/MapService.cs index b0c68e55f..507f51fb8 100755 --- a/src/Tizen.Maps/Tizen.Maps/MapService.cs +++ b/src/Tizen.Maps/Tizen.Maps/MapService.cs @@ -24,6 +24,7 @@ namespace Tizen.Maps /// Map service class for service request. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public partial class MapService : IDisposable { internal Interop.ServiceHandle handle; @@ -47,6 +48,7 @@ namespace Tizen.Maps /// Thrown when parameters are invalid. /// Thrown when a native operation failed to allocate memory and connect to the service. /// Thrown when application does not have some privilege to access this method. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public MapService(string serviceProvider, string serviceProviderKey) { _serviceProvider = serviceProvider; @@ -72,6 +74,7 @@ namespace Tizen.Maps /// http://tizen.org/privilege/mapservice /// Thrown when the required feature is not supported. /// Thrown when application does not have privilege to access this property. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public static IEnumerable Providers { get @@ -88,6 +91,7 @@ namespace Tizen.Maps /// Gets the name of the map service provider. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Provider { get { return _serviceProvider; } } /// @@ -95,6 +99,7 @@ namespace Tizen.Maps /// /// 4 /// http://tizen.org/privilege/mapservice + [Obsolete("Deprecated since API11. Might be removed in API13.")] public bool UserConsented { get @@ -109,6 +114,7 @@ namespace Tizen.Maps /// 3 /// Typically, the provider key is issued by each maps provider after signing up for a plan in the website. /// Depending on the plan and its provider which you have signed, you might have to pay for the network traffic. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string ProviderKey { get @@ -125,6 +131,7 @@ namespace Tizen.Maps /// Gets and sets a filter used for the place search result. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceFilter PlaceSearchFilter { get @@ -144,6 +151,7 @@ namespace Tizen.Maps /// Gets the search preferences used for or . /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IGeocodePreference GeocodePreferences { get @@ -156,6 +164,7 @@ namespace Tizen.Maps /// Gets the search preferences used for . /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IPlaceSearchPreference PlaceSearchPreferences { get @@ -168,6 +177,7 @@ namespace Tizen.Maps /// Gets the search preferences used for . /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IRouteSearchPreference RouteSearchPreferences { get @@ -180,6 +190,7 @@ namespace Tizen.Maps /// Gets and sets the search preferences. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public SearchPreference Preferences { get @@ -208,6 +219,7 @@ namespace Tizen.Maps /// http://tizen.org/privilege/mapservice /// Thrown when the required feature is not supported. /// Thrown when application does not have some privilege to access this method. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public async Task RequestUserConsent() { TaskCompletionSource tcs = new TaskCompletionSource(); @@ -233,6 +245,7 @@ namespace Tizen.Maps /// http://tizen.org/privilege/mapservice /// Thrown when the required feature is not supported. /// Thrown when application does not have some privilege to access this method. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public bool IsSupported(ServiceRequestType type) { bool result = false; @@ -250,6 +263,7 @@ namespace Tizen.Maps /// http://tizen.org/privilege/mapservice /// Thrown when the required feature is not supported. /// Thrown when application does not have some privilege to access this method. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public bool IsSupported(ServiceData data) { bool result = false; @@ -264,6 +278,7 @@ namespace Tizen.Maps /// 3 /// A string representing free-formed address. /// Returns a GeocodeRequest object created with an address string. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public GeocodeRequest CreateGeocodeRequest(string address) { return new GeocodeRequest(this, address); @@ -277,6 +292,7 @@ namespace Tizen.Maps /// An instance of Area object representing the interested area. /// /// Returns a GeocodeRequest object created with an address string and a specified boundary. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public GeocodeRequest CreateGeocodeRequest(string address, Area boundary) { return new GeocodeRequest(this, address, boundary); @@ -288,6 +304,7 @@ namespace Tizen.Maps /// 3 /// A string representing the address of interest. /// Returns a GeocodeRequest object created with a structured address. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public GeocodeRequest CreateGeocodeRequest(PlaceAddress address) { return new GeocodeRequest(this, address); @@ -300,6 +317,7 @@ namespace Tizen.Maps /// Latitude of the interested place. /// Longitude of the interested place. /// Returns a ReverseGeocodeRequest object created with the location coordinates. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public ReverseGeocodeRequest CreateReverseGeocodeRequest(double latitude, double longitude) { return new ReverseGeocodeRequest(this, latitude, longitude); @@ -311,6 +329,7 @@ namespace Tizen.Maps /// 3 /// Coordinates list with [2 ~ 100] coordinates. /// Returns a MultiReverseGeocodeRequest object created with a list of location coordinates. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public MultiReverseGeocodeRequest CreateMultiReverseGeocodeRequest(IEnumerable coordinates) { return new MultiReverseGeocodeRequest(this, coordinates); @@ -323,6 +342,7 @@ namespace Tizen.Maps /// Starting point. /// Destination. /// Returns a RouteSearchRequest object created with the origin and destination coordinates. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public RouteSearchRequest CreateRouteSearchRequest(Geocoordinates from, Geocoordinates to) { return new RouteSearchRequest(this, from, to); @@ -335,6 +355,7 @@ namespace Tizen.Maps /// Geographical coordinates of the center. /// A double value representing the radius of an area to search places. /// Returns a PlaceSearchRequest object created with the location coordinates and search radius. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceSearchRequest CreatePlaceSearchRequest(Geocoordinates coordinates, int distance) { return new PlaceSearchRequest(this, coordinates, distance); @@ -346,6 +367,7 @@ namespace Tizen.Maps /// 3 /// An instance of Area object representing and area to search interested places. /// Returns a PlaceSearchRequest object created with a specified boundary. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceSearchRequest CreatePlaceSearchRequest(Area boundary) { return new PlaceSearchRequest(this, boundary); @@ -358,6 +380,7 @@ namespace Tizen.Maps /// A string which represents a free-formed address. /// An instance of area object representing an area to search interested places. /// Returns a PlaceSearchRequest object created with an address string and a specified boundary. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceSearchRequest CreatePlaceSearchRequest(string address, Area boundary) { return new PlaceSearchRequest(this, address, boundary); @@ -371,6 +394,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -389,6 +413,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/MapServiceRequest.cs b/src/Tizen.Maps/Tizen.Maps/MapServiceRequest.cs index c3750cf5c..11370839f 100755 --- a/src/Tizen.Maps/Tizen.Maps/MapServiceRequest.cs +++ b/src/Tizen.Maps/Tizen.Maps/MapServiceRequest.cs @@ -25,6 +25,7 @@ namespace Tizen.Maps /// /// 3 /// + [Obsolete("Deprecated since API11. Might be removed in API13.")] public abstract class MapServiceRequest : IDisposable { internal TaskCompletionSource> _requestTask; @@ -68,6 +69,7 @@ namespace Tizen.Maps /// Thrown when application does not have some privilege to access this method. /// Thrown when the result is invalid. /// Thrown when arguments are invalid. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public async Task> GetResponseAsync() { IEnumerable task = null; @@ -104,6 +106,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -120,6 +123,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/MapTypes.cs b/src/Tizen.Maps/Tizen.Maps/MapTypes.cs index 90bfd4375..aedcf650a 100755 --- a/src/Tizen.Maps/Tizen.Maps/MapTypes.cs +++ b/src/Tizen.Maps/Tizen.Maps/MapTypes.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// The map view type (theme). /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum MapTypes { /// diff --git a/src/Tizen.Maps/Tizen.Maps/MapView.cs b/src/Tizen.Maps/Tizen.Maps/MapView.cs index 3659110cf..a93e6b6a3 100755 --- a/src/Tizen.Maps/Tizen.Maps/MapView.cs +++ b/src/Tizen.Maps/Tizen.Maps/MapView.cs @@ -58,6 +58,7 @@ namespace Tizen.Maps /// Thrown when application does not have some privilege to access this method. /// Thrown when parameters are invalid. /// Thrown when a native operation failed to allocate memory, and connect to the service. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public MapView(EvasObject parent, MapService service) : base(parent) { handle = new Interop.ViewHandle(service.handle, this); @@ -794,6 +795,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) diff --git a/src/Tizen.Maps/Tizen.Maps/Marker.cs b/src/Tizen.Maps/Tizen.Maps/Marker.cs index 12806c48f..2dba99d2a 100755 --- a/src/Tizen.Maps/Tizen.Maps/Marker.cs +++ b/src/Tizen.Maps/Tizen.Maps/Marker.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// The marker map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Marker : MapObject, IDisposable { internal Interop.MarkerHandle handle; @@ -56,6 +57,7 @@ namespace Tizen.Maps /// Gets or sets the marker's visibility. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override bool IsVisible { get @@ -72,6 +74,7 @@ namespace Tizen.Maps /// Gets or sets the geographical coordinates for this marker. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Coordinates { get @@ -91,6 +94,7 @@ namespace Tizen.Maps /// Gets or sets a string representing the image file path for this marker. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string ImagePath { get @@ -107,6 +111,7 @@ namespace Tizen.Maps /// Gets or sets the screen size for this marker. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Size MarkerSize { get @@ -124,6 +129,7 @@ namespace Tizen.Maps /// /// 3 /// The integer value is 0 by default, and must be in the range of -100 to 100. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int ZOrder { get @@ -141,6 +147,7 @@ namespace Tizen.Maps /// /// 3 /// New size. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Resize(Size newSize) { MarkerSize = newSize; @@ -151,6 +158,7 @@ namespace Tizen.Maps /// /// 3 /// New position for the marker. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Move(Geocoordinates newPosition) { Coordinates = newPosition; @@ -178,6 +186,7 @@ namespace Tizen.Maps /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -191,6 +200,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); @@ -205,6 +215,7 @@ namespace Tizen.Maps /// Pin type the marker map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Pin : Marker { private const string defaultImagePath = "/usr/share/dotnet.tizen/framework/res/maps_marker_pin_48.png"; @@ -215,6 +226,7 @@ namespace Tizen.Maps /// 3 /// Marker coordinates. /// Thrown when input coordinates are invalid. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Pin(Geocoordinates coordinates) : base(coordinates, defaultImagePath, Interop.ViewMarkerType.Pin) { @@ -233,6 +245,7 @@ namespace Tizen.Maps /// Thrown when the required feature is not supported. /// Thrown when application does not have some privilege to access this method. /// Thrown when the input coordinates or imagePath is invalid. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Pin(Geocoordinates coordinates, string imagePath) : base(coordinates, imagePath, Interop.ViewMarkerType.Pin) { @@ -243,6 +256,7 @@ namespace Tizen.Maps /// Sticker type marker map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Sticker : Marker { private const string defaultImagePath = "/usr/share/dotnet.tizen/framework/res/maps_marker_sticker_48.png"; @@ -253,6 +267,7 @@ namespace Tizen.Maps /// 3 /// Marker coordinates. /// Thrown when input coordinates are invalid. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Sticker(Geocoordinates coordinates) : base(coordinates, defaultImagePath, Interop.ViewMarkerType.Sticker) { @@ -271,6 +286,7 @@ namespace Tizen.Maps /// Thrown when the required feature is not supported. /// Thrown when application does not have some privilege to access this method. /// Thrown when the input coordinates or imagePath is invalid. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Sticker(Geocoordinates coordinates, string imagePath) : base(coordinates, imagePath, Interop.ViewMarkerType.Sticker) { diff --git a/src/Tizen.Maps/Tizen.Maps/MultiReverseGeocodeRequest.cs b/src/Tizen.Maps/Tizen.Maps/MultiReverseGeocodeRequest.cs index ac1a58d5d..d87117a6a 100755 --- a/src/Tizen.Maps/Tizen.Maps/MultiReverseGeocodeRequest.cs +++ b/src/Tizen.Maps/Tizen.Maps/MultiReverseGeocodeRequest.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Multiple reverse geocode request for Tizen map service. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class MultiReverseGeocodeRequest : MapServiceRequest { private Interop.MultiReverseGeocodeCallback _geocodeCallback; diff --git a/src/Tizen.Maps/Tizen.Maps/Overlay.cs b/src/Tizen.Maps/Tizen.Maps/Overlay.cs index 74c59fee0..f8cee98d5 100755 --- a/src/Tizen.Maps/Tizen.Maps/Overlay.cs +++ b/src/Tizen.Maps/Tizen.Maps/Overlay.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Overlay map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Overlay : MapObject, IDisposable { internal Interop.OverlayHandle handle; @@ -62,6 +63,7 @@ namespace Tizen.Maps /// Gets or sets the visibility of an overlay map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override bool IsVisible { get { return handle.IsVisible; } @@ -72,6 +74,7 @@ namespace Tizen.Maps /// Gets or sets geographical coordinates for an overlay map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Coordinates { get @@ -144,6 +147,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -157,6 +161,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); @@ -169,6 +174,7 @@ namespace Tizen.Maps /// The bubble overlay map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class BubbleOverlay : Overlay { /// @@ -179,6 +185,7 @@ namespace Tizen.Maps /// The EvasObject to be shown. /// Thrown when the required feature is not supported. /// Thrown when the input coordinates or objectToContain are invalid. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public BubbleOverlay(Geocoordinates coordinates, EvasObject objectToContain) : base(coordinates, objectToContain, Interop.ViewOverlayType.Bubble) { @@ -189,6 +196,7 @@ namespace Tizen.Maps /// The box overlay map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class BoxOverlay : Overlay { /// @@ -199,6 +207,7 @@ namespace Tizen.Maps /// The EvasObject to be shown. /// Thrown when the required feature is not supported. /// Thrown when the input coordinates or objectToContain are invalid + [Obsolete("Deprecated since API11. Might be removed in API13.")] public BoxOverlay(Geocoordinates coordinates, EvasObject objectToContain) : base(coordinates, objectToContain, Interop.ViewOverlayType.Box) { diff --git a/src/Tizen.Maps/Tizen.Maps/Place.cs b/src/Tizen.Maps/Tizen.Maps/Place.cs index 25714f9b8..5c841e17a 100755 --- a/src/Tizen.Maps/Tizen.Maps/Place.cs +++ b/src/Tizen.Maps/Tizen.Maps/Place.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Place information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Place : IDisposable { internal Interop.PlaceHandle handle; @@ -44,6 +45,7 @@ namespace Tizen.Maps /// Gets an ID string for the place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Id { get @@ -56,6 +58,7 @@ namespace Tizen.Maps /// Gets name string for the place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Name { get @@ -68,6 +71,7 @@ namespace Tizen.Maps /// Gets a view URI for the place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Uri { get @@ -80,6 +84,7 @@ namespace Tizen.Maps /// Gets a distance for the place from the center. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int Distance { get @@ -92,6 +97,7 @@ namespace Tizen.Maps /// Gets a geographical location for the place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Coordinates { get @@ -116,6 +122,7 @@ namespace Tizen.Maps /// Gets a rating for the place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceRating Rating { get @@ -128,6 +135,7 @@ namespace Tizen.Maps /// Gets a supplier link for the place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceLink Supplier { get @@ -140,6 +148,7 @@ namespace Tizen.Maps /// Gets a related link for the place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceLink Related { get @@ -152,6 +161,7 @@ namespace Tizen.Maps /// Gets all the properties attached to this place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IDictionary Properties { get @@ -166,6 +176,7 @@ namespace Tizen.Maps /// Gets all the categories attached to this place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Categories { get @@ -180,6 +191,7 @@ namespace Tizen.Maps /// Gets all the attributes attached to this place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Attributes { get @@ -194,6 +206,7 @@ namespace Tizen.Maps /// Gets all the contacts attached to this place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Contacts { get @@ -208,6 +221,7 @@ namespace Tizen.Maps /// Gets all the editorials attached to this place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Editorials { get @@ -222,6 +236,7 @@ namespace Tizen.Maps /// Gets all the images attached to this place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Images { get @@ -236,6 +251,7 @@ namespace Tizen.Maps /// Gets all the reviews attached to this place. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Reviews { get @@ -253,6 +269,7 @@ namespace Tizen.Maps /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -266,6 +283,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceAddress.cs b/src/Tizen.Maps/Tizen.Maps/PlaceAddress.cs index 704ee95ce..3feff85e3 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceAddress.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceAddress.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Address information for the map point used in geocode and reverse geocode requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceAddress : IDisposable { internal Interop.AddressHandle handle; @@ -32,6 +33,7 @@ namespace Tizen.Maps /// /// 3 /// Thrown when native operation failed to allocate memory. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceAddress() { handle = new Interop.AddressHandle(); @@ -54,6 +56,7 @@ namespace Tizen.Maps /// Gets a building number for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Building { get @@ -70,6 +73,7 @@ namespace Tizen.Maps /// Gets a city name for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string City { get @@ -86,6 +90,7 @@ namespace Tizen.Maps /// Gets a country name for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Country { get @@ -102,6 +107,7 @@ namespace Tizen.Maps /// Gets a country code for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string CountryCode { get @@ -118,6 +124,7 @@ namespace Tizen.Maps /// Gets a county for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string County { get @@ -134,6 +141,7 @@ namespace Tizen.Maps /// Gets a district name for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string District { get @@ -150,6 +158,7 @@ namespace Tizen.Maps /// Gets a free text associated with this address. /// /// 4 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string FreeText { get @@ -166,6 +175,7 @@ namespace Tizen.Maps /// Gets a postal code for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string PostalCode { get @@ -182,6 +192,7 @@ namespace Tizen.Maps /// Gets a state name for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string State { get @@ -198,6 +209,7 @@ namespace Tizen.Maps /// Gets a street name for this address. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Street { get @@ -215,6 +227,7 @@ namespace Tizen.Maps /// /// 3 /// Returns a string which presents this object. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override string ToString() { return $"{FreeText}"; @@ -228,6 +241,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -241,6 +255,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceAttribute.cs b/src/Tizen.Maps/Tizen.Maps/PlaceAttribute.cs index ac6f7e2e0..b132014da 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceAttribute.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceAttribute.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place attributes information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceAttribute { private string _id; @@ -44,18 +45,21 @@ namespace Tizen.Maps /// Gets an ID for the place attribute. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Id { get { return _id; } } /// /// Gets a label for the place attribute. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Label { get { return _label; } } /// /// Gets a text for the place attribute. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Text { get { return _text; } } /// @@ -63,6 +67,7 @@ namespace Tizen.Maps /// /// 3 /// Returns a string which presents this object. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override string ToString() { return $"{Label}: {Text}"; diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceCategory.cs b/src/Tizen.Maps/Tizen.Maps/PlaceCategory.cs index 8c1d2cb37..a039da87d 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceCategory.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceCategory.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place category information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceCategory : IDisposable { internal Interop.PlaceCategoryHandle handle; @@ -31,6 +32,7 @@ namespace Tizen.Maps /// /// 3 /// Thrown when native operation failed to allocate memory. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceCategory() { handle = new Interop.PlaceCategoryHandle(); @@ -53,6 +55,7 @@ namespace Tizen.Maps /// Gets or sets an ID for this category. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Id { get { return handle.Id; } @@ -63,6 +66,7 @@ namespace Tizen.Maps /// Gets or sets a name for this category. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Name { get { return handle.Name; } @@ -73,6 +77,7 @@ namespace Tizen.Maps /// Gets or sets a URL for this category. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Url { get { return handle.Url; } @@ -84,6 +89,7 @@ namespace Tizen.Maps /// /// 3 /// Returns a string which presents this object. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override string ToString() { return $"{Name}"; @@ -97,6 +103,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -110,6 +117,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceContact.cs b/src/Tizen.Maps/Tizen.Maps/PlaceContact.cs index 5cccc5ffe..237cef8f2 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceContact.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceContact.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Place contact information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceContact { private string _label; @@ -44,18 +45,21 @@ namespace Tizen.Maps /// Gets an ID for this place contact. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Id { get { return _type; } } /// /// Gets a label for this place contact. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Label { get { return _label; } } /// /// Gets a value for this place contact. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Value { get { return _value; } } /// @@ -63,6 +67,7 @@ namespace Tizen.Maps /// /// 3 /// Returns a string which presents this object. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override string ToString() { return $"{Label}: {Value}"; diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceEditorial.cs b/src/Tizen.Maps/Tizen.Maps/PlaceEditorial.cs index d206b9300..8ad644a5d 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceEditorial.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceEditorial.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place editorial information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceEditorial { private string _description; @@ -43,18 +44,21 @@ namespace Tizen.Maps /// Gets a description for this place editorial. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Description { get { return _description; } } /// /// Gets a language for this place editorial. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Language { get { return _language; } } /// /// Gets an instance of object which representing media for this place editorial. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceMedia Media { get { return _media; } } /// @@ -62,6 +66,7 @@ namespace Tizen.Maps /// /// 3 /// Returns a string which presents this object. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override string ToString() { return $"{Description}"; diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceFilter.cs b/src/Tizen.Maps/Tizen.Maps/PlaceFilter.cs index 023a80fd4..9630f2920 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceFilter.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceFilter.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place filter information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceFilter : IDisposable { internal Interop.PlaceFilterHandle handle; @@ -31,6 +32,7 @@ namespace Tizen.Maps /// /// 3 /// Thrown when native operation failed to allocate memory. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceFilter() { handle = new Interop.PlaceFilterHandle(); @@ -51,6 +53,7 @@ namespace Tizen.Maps /// Depending on maps provider which the application has selected, /// it may treat , and /// as the same kind of strings to search places. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Address { get @@ -67,6 +70,7 @@ namespace Tizen.Maps /// Gets or sets an instance of object for this place filter. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceCategory Category { get @@ -86,6 +90,7 @@ namespace Tizen.Maps /// Depending on maps provider which the application has selected, /// it may treat , and /// as the same kind of strings to search places. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Keyword { get @@ -105,6 +110,7 @@ namespace Tizen.Maps /// Depending on maps provider which the application has selected, /// it may treat , and /// as the same kind of strings to search places. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Name { get @@ -125,6 +131,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -138,6 +145,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceImage.cs b/src/Tizen.Maps/Tizen.Maps/PlaceImage.cs index 4d35d33a1..6811acc28 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceImage.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceImage.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place image information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceImage { private string _id; @@ -45,36 +46,42 @@ namespace Tizen.Maps /// Gets an ID for this place image. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Id { get { return _id; } } /// /// Gets an URL for this place image. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Url { get { return _url; } } /// /// Gets the width for this place image. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int Width { get { return _width; } } /// /// Gets the height for this place image. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int Height { get { return _height; } } /// /// Gets an object representing the user link for this place image. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceLink UserLink { get { return _userLink; } } /// /// Gets an object representing the image media for this place image. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceMedia ImageMedia { get { return _media; } } } } diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceLink.cs b/src/Tizen.Maps/Tizen.Maps/PlaceLink.cs index b81622df7..dcf01871b 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceLink.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceLink.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Place link object information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceLink { private string _id; @@ -42,24 +43,28 @@ namespace Tizen.Maps /// Gets a string representing the ID for this place link. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Id { get { return _id; } } /// /// Gets a string representing the name for this place link. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Name { get { return _name; } } /// /// Gets a string representing the link for this place link. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Link { get { return _link; } } /// /// Gets a string representing the type for this place link. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Type { get { return _type; } } } } diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceMedia.cs b/src/Tizen.Maps/Tizen.Maps/PlaceMedia.cs index d1111f5da..ac957e633 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceMedia.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceMedia.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place media information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceMedia { private string _attribution; @@ -39,18 +40,21 @@ namespace Tizen.Maps /// Gets a string representing the attribution for this place media. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Attribution { get { return _attribution; } } /// /// Gets an instance of object representing the supplier for this place media. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceLink Supplier { get { return _supplier; } } /// /// Gets an instance of object representing via data for this place media. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceLink Via { get { return _via; } } } } diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceRating.cs b/src/Tizen.Maps/Tizen.Maps/PlaceRating.cs index 0b37e232a..c48f08d15 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceRating.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceRating.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place rating information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceRating { private int _count; @@ -37,12 +38,14 @@ namespace Tizen.Maps /// Gets the number of users rated for this place rating. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int UserCount { get { return _count; } } /// /// Gets the average value of this place rating. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double Average { get { return _average; } } /// @@ -50,6 +53,7 @@ namespace Tizen.Maps /// /// 3 /// Returns a string which presents this object. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override string ToString() { return $"{Average}({UserCount} reviews)"; diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceReview.cs b/src/Tizen.Maps/Tizen.Maps/PlaceReview.cs index 7431fe5fa..8f614a973 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceReview.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceReview.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Place review information, used in place discovery and search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceReview { private DateTime _date; @@ -52,12 +53,14 @@ namespace Tizen.Maps /// Gets an instance of object representing the time of this review. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public DateTime Date { get { return _date; } } /// /// Gets a string representing the title of this review. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Title { get { return _title; } } /// @@ -70,24 +73,28 @@ namespace Tizen.Maps /// Gets a string representing the description of this review. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Description { get { return _description; } } /// /// Gets a string representing the language of this review. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Language { get { return _language; } } /// /// Gets an instance of object representing the review media of this review. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceMedia ReviewMedia { get { return _media; } } /// /// Gets an instance of object representing the user link of this review. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public PlaceLink UserLink { get { return _userLink; } } } } diff --git a/src/Tizen.Maps/Tizen.Maps/PlaceSearchRequest.cs b/src/Tizen.Maps/Tizen.Maps/PlaceSearchRequest.cs index c4550b65f..e5536e618 100755 --- a/src/Tizen.Maps/Tizen.Maps/PlaceSearchRequest.cs +++ b/src/Tizen.Maps/Tizen.Maps/PlaceSearchRequest.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Place search request for Tizen map service. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class PlaceSearchRequest : MapServiceRequest { private Interop.SearchPlaceCallback _placeCallback; diff --git a/src/Tizen.Maps/Tizen.Maps/Polygon.cs b/src/Tizen.Maps/Tizen.Maps/Polygon.cs index 51097df07..f5f2a542b 100755 --- a/src/Tizen.Maps/Tizen.Maps/Polygon.cs +++ b/src/Tizen.Maps/Tizen.Maps/Polygon.cs @@ -26,6 +26,7 @@ namespace Tizen.Maps /// The polygon map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Polygon : MapObject, IDisposable { internal Interop.PolygonHandle handle; @@ -70,6 +71,7 @@ namespace Tizen.Maps /// Gets or sets visibility for the polygon. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override bool IsVisible { get { return handle.IsVisible; } @@ -80,6 +82,7 @@ namespace Tizen.Maps /// Gets or sets a list of geographical coordinates for polygon vertices. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Coordinates { get @@ -107,6 +110,7 @@ namespace Tizen.Maps /// Gets or sets a background color to fill the polygon. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Color FillColor { get @@ -142,6 +146,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -159,6 +164,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/Polyline.cs b/src/Tizen.Maps/Tizen.Maps/Polyline.cs index 4732be959..aa2ff90b5 100755 --- a/src/Tizen.Maps/Tizen.Maps/Polyline.cs +++ b/src/Tizen.Maps/Tizen.Maps/Polyline.cs @@ -26,6 +26,7 @@ namespace Tizen.Maps /// The polyline map object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Polyline : MapObject, IDisposable { internal Interop.PolylineHandle handle; @@ -71,6 +72,7 @@ namespace Tizen.Maps /// Gets or sets the visibility for polyline. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public override bool IsVisible { get { return handle.IsVisible; } @@ -81,6 +83,7 @@ namespace Tizen.Maps /// Gets or sets a list of geographical coordinates for polyline vertices. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Coordinates { get @@ -108,6 +111,7 @@ namespace Tizen.Maps /// Gets or sets the line color. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Color LineColor { get @@ -124,6 +128,7 @@ namespace Tizen.Maps /// Gets or sets the line width from 1 to 100 pixels. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int Width { get @@ -159,6 +164,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -176,6 +182,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/ReverseGeocodeRequest.cs b/src/Tizen.Maps/Tizen.Maps/ReverseGeocodeRequest.cs index 7f09bfe32..155338935 100755 --- a/src/Tizen.Maps/Tizen.Maps/ReverseGeocodeRequest.cs +++ b/src/Tizen.Maps/Tizen.Maps/ReverseGeocodeRequest.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Reverses the geocode request for a map service. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class ReverseGeocodeRequest : MapServiceRequest { private Interop.ReverseGeocodeCallback _geocodeCallback; diff --git a/src/Tizen.Maps/Tizen.Maps/Route.cs b/src/Tizen.Maps/Tizen.Maps/Route.cs index c0312d641..8a3e38f52 100755 --- a/src/Tizen.Maps/Tizen.Maps/Route.cs +++ b/src/Tizen.Maps/Tizen.Maps/Route.cs @@ -24,6 +24,7 @@ namespace Tizen.Maps /// Route information, used in Route Search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class Route : IDisposable { internal Interop.RouteHandle handle; @@ -45,6 +46,7 @@ namespace Tizen.Maps /// Gets an instance of object representing destination coordinates for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Destination { get @@ -57,6 +59,7 @@ namespace Tizen.Maps /// Gets the total distance for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double Distance { get @@ -69,6 +72,7 @@ namespace Tizen.Maps /// Get the total duration to cover this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double Duration { get @@ -81,6 +85,7 @@ namespace Tizen.Maps /// Gets an ID for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Id { get @@ -93,6 +98,7 @@ namespace Tizen.Maps /// Gets the transport mode for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public TransportMode Mode { get @@ -105,6 +111,7 @@ namespace Tizen.Maps /// Gets the origin coordinates for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Origin { get @@ -117,6 +124,7 @@ namespace Tizen.Maps /// Gets a coordinates list for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Path { get @@ -131,6 +139,7 @@ namespace Tizen.Maps /// Gets a segment list for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Segments { get @@ -145,6 +154,7 @@ namespace Tizen.Maps /// Gets the distance unit for this route. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public DistanceUnit Unit { get @@ -156,6 +166,7 @@ namespace Tizen.Maps /// /// Gets an instance of object which representing bounding area for this route. /// + [Obsolete("Deprecated since API11. Might be removed in API13.")] private Area BoundingBox { get @@ -172,6 +183,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -185,6 +197,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/RouteFeature.cs b/src/Tizen.Maps/Tizen.Maps/RouteFeature.cs index 063f28e4a..e16c5da87 100755 --- a/src/Tizen.Maps/Tizen.Maps/RouteFeature.cs +++ b/src/Tizen.Maps/Tizen.Maps/RouteFeature.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Route features used for route search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum RouteFeature { /// diff --git a/src/Tizen.Maps/Tizen.Maps/RouteFeatureWeight.cs b/src/Tizen.Maps/Tizen.Maps/RouteFeatureWeight.cs index 513d4f723..b54d63ec1 100755 --- a/src/Tizen.Maps/Tizen.Maps/RouteFeatureWeight.cs +++ b/src/Tizen.Maps/Tizen.Maps/RouteFeatureWeight.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Route feature weights used in route search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum RouteFeatureWeight { /// diff --git a/src/Tizen.Maps/Tizen.Maps/RouteManeuver.cs b/src/Tizen.Maps/Tizen.Maps/RouteManeuver.cs index d6befd8a2..db8023133 100755 --- a/src/Tizen.Maps/Tizen.Maps/RouteManeuver.cs +++ b/src/Tizen.Maps/Tizen.Maps/RouteManeuver.cs @@ -22,6 +22,7 @@ namespace Tizen.Maps /// Route maneuver information used in route search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class RouteManeuver { private Interop.RouteDirection _direction; @@ -49,48 +50,56 @@ namespace Tizen.Maps /// Gets the direction type for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public DirectionType Direction { get { return (DirectionType)_direction; } } /// /// Gets the turn type for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public TurnInstruction Turn { get { return (TurnInstruction)_turntype; } } /// /// Gets a geographical coordinates position for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Position { get { return _coordinates; } } /// /// Gets a name of the road for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Road { get { return _road; } } /// /// Gets an instruction text for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Instruction { get { return _instruction; } } /// /// Gets a locale for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Locale { get { return _locale; } } /// /// Gets the time to next instruction for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int TimeToNextInstruction { get { return _timeToNextInstruction; } } /// /// Gets the distance to next instruction for this maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double DistanceToNextInstruction { get { return _distanceToNextInstruction; } } } } diff --git a/src/Tizen.Maps/Tizen.Maps/RouteOptimization.cs b/src/Tizen.Maps/Tizen.Maps/RouteOptimization.cs index 87d77d942..c2e97f8c7 100755 --- a/src/Tizen.Maps/Tizen.Maps/RouteOptimization.cs +++ b/src/Tizen.Maps/Tizen.Maps/RouteOptimization.cs @@ -14,6 +14,8 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// @@ -23,6 +25,7 @@ namespace Tizen.Maps /// /// Depending on the loaded maps plug-in using , some features might have no effect or differences with the descriptions. /// + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum RouteOptimization { /// diff --git a/src/Tizen.Maps/Tizen.Maps/RouteSearchRequest.cs b/src/Tizen.Maps/Tizen.Maps/RouteSearchRequest.cs index 3f4187923..069b31da5 100755 --- a/src/Tizen.Maps/Tizen.Maps/RouteSearchRequest.cs +++ b/src/Tizen.Maps/Tizen.Maps/RouteSearchRequest.cs @@ -24,6 +24,7 @@ namespace Tizen.Maps /// Routes the search request for Tizen map service requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class RouteSearchRequest : MapServiceRequest { private Interop.SearchRouteCallback _routeCallback; @@ -96,6 +97,7 @@ namespace Tizen.Maps /// Gets or sets a list of way-points to cover between the origin and destination. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Waypoints { get diff --git a/src/Tizen.Maps/Tizen.Maps/RouteSegment.cs b/src/Tizen.Maps/Tizen.Maps/RouteSegment.cs index f2257a119..1a0ef2f82 100755 --- a/src/Tizen.Maps/Tizen.Maps/RouteSegment.cs +++ b/src/Tizen.Maps/Tizen.Maps/RouteSegment.cs @@ -24,6 +24,7 @@ namespace Tizen.Maps /// Place Segment information used in Route Search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class RouteSegment { private Geocoordinates _origin; @@ -51,36 +52,42 @@ namespace Tizen.Maps /// Gets the origin coordinates for this segment. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Origin { get { return _origin; } } /// /// Gets the destination coordinates for this segment. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public Geocoordinates Destination { get { return _destination; } } /// /// Gets the total distance for this segment. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double Distance { get { return _distance; } } /// /// Gets the total duration to cover this segment. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public double Duration { get { return _duration; } } /// /// Gets the maneuver list for this segment. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Maneuvers { get { return _maneuvers; } } /// /// Gets the coordinates list for this segment. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IEnumerable Path { get { return _path; } } private Area BoundingBox { get { return _boundingBox; } } diff --git a/src/Tizen.Maps/Tizen.Maps/SearchPreference.cs b/src/Tizen.Maps/Tizen.Maps/SearchPreference.cs index 18afd092c..36b05c048 100755 --- a/src/Tizen.Maps/Tizen.Maps/SearchPreference.cs +++ b/src/Tizen.Maps/Tizen.Maps/SearchPreference.cs @@ -23,6 +23,7 @@ namespace Tizen.Maps /// Preferences for route search requests. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public class SearchPreference : IGeocodePreference, IPlaceSearchPreference, IRouteSearchPreference, IDisposable { internal Interop.PreferenceHandle handle; @@ -32,6 +33,7 @@ namespace Tizen.Maps /// Constructor for a new search preference. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public SearchPreference() { handle = new Interop.PreferenceHandle(); @@ -59,6 +61,7 @@ namespace Tizen.Maps /// 3 /// Language should be specified as an ISO 3166 alpha-2 two letter country-code /// followed by ISO 639-1 for the two-letter language code.
e.g. "ko-KR", "en-US".
+ [Obsolete("Deprecated since API11. Might be removed in API13.")] public string Language { get @@ -77,6 +80,7 @@ namespace Tizen.Maps /// /// 3 /// Setting negative value will not have any effect on MaxResults value. + [Obsolete("Deprecated since API11. Might be removed in API13.")] public int MaxResults { get @@ -94,6 +98,7 @@ namespace Tizen.Maps /// Gets or sets the distance unit. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public DistanceUnit Unit { get @@ -111,6 +116,7 @@ namespace Tizen.Maps /// Gets or sets the preferred country. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public string CountryCode { get @@ -128,6 +134,7 @@ namespace Tizen.Maps /// Gets or sets the search properties as a key value pair. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public IReadOnlyDictionary Properties { get @@ -155,6 +162,7 @@ namespace Tizen.Maps /// Gets or sets the route optimization. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public RouteOptimization Optimization { get @@ -172,6 +180,7 @@ namespace Tizen.Maps /// Gets or sets the route transport mode. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public TransportMode Mode { get @@ -189,6 +198,7 @@ namespace Tizen.Maps /// Gets or sets the route feature weight. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public RouteFeatureWeight RouteFeatureWeight { get @@ -206,6 +216,7 @@ namespace Tizen.Maps /// Gets or sets the route feature. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public RouteFeature RouteFeature { get @@ -223,6 +234,7 @@ namespace Tizen.Maps /// Gets or sets if the searching for alternative routes is enabled. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public bool SearchAlternativeRoutes { get @@ -244,6 +256,7 @@ namespace Tizen.Maps /// /// If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] protected virtual void Dispose(bool disposing) { if (!_disposedValue) @@ -261,6 +274,7 @@ namespace Tizen.Maps /// Releases all the resources used by this object. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public void Dispose() { Dispose(true); diff --git a/src/Tizen.Maps/Tizen.Maps/ServiceData.cs b/src/Tizen.Maps/Tizen.Maps/ServiceData.cs index f5e753448..0a014f692 100755 --- a/src/Tizen.Maps/Tizen.Maps/ServiceData.cs +++ b/src/Tizen.Maps/Tizen.Maps/ServiceData.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Features available in the map service. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum ServiceData { /// diff --git a/src/Tizen.Maps/Tizen.Maps/ServiceRequestType.cs b/src/Tizen.Maps/Tizen.Maps/ServiceRequestType.cs index 782447177..5f086028b 100755 --- a/src/Tizen.Maps/Tizen.Maps/ServiceRequestType.cs +++ b/src/Tizen.Maps/Tizen.Maps/ServiceRequestType.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Service requests available in the maps service. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum ServiceRequestType { /// diff --git a/src/Tizen.Maps/Tizen.Maps/SnapshotType.cs b/src/Tizen.Maps/Tizen.Maps/SnapshotType.cs index dd3fdd0d4..f51044bb4 100755 --- a/src/Tizen.Maps/Tizen.Maps/SnapshotType.cs +++ b/src/Tizen.Maps/Tizen.Maps/SnapshotType.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Enumeration for the snapshot file formats. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum SnapshotType { /// diff --git a/src/Tizen.Maps/Tizen.Maps/TransportMode.cs b/src/Tizen.Maps/Tizen.Maps/TransportMode.cs index 21c057e89..f2df26809 100755 --- a/src/Tizen.Maps/Tizen.Maps/TransportMode.cs +++ b/src/Tizen.Maps/Tizen.Maps/TransportMode.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Route types. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum TransportMode { /// diff --git a/src/Tizen.Maps/Tizen.Maps/TurnInstruction.cs b/src/Tizen.Maps/Tizen.Maps/TurnInstruction.cs index b3fe5fa3b..78cc5aebd 100755 --- a/src/Tizen.Maps/Tizen.Maps/TurnInstruction.cs +++ b/src/Tizen.Maps/Tizen.Maps/TurnInstruction.cs @@ -14,12 +14,15 @@ * limitations under the License. */ +using System; + namespace Tizen.Maps { /// /// Turns the Instruction type for route maneuver. /// /// 3 + [Obsolete("Deprecated since API11. Might be removed in API13.")] public enum TurnInstruction { ///