X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2FTizen.Location%2FTizen.Location%2FLocationError.cs;h=61dfc8bb38fe62e6b6566fd67faac573ece5a41a;hb=c1195942b96301355358d34dc545dcc55cc7af61;hp=3254d8e2e651493c0525bd59078671e224afcc64;hpb=dc4890bced1a9c53f461c5b05f4b8a6f106a2bd1;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/Tizen.Location/Tizen.Location/LocationError.cs b/src/Tizen.Location/Tizen.Location/LocationError.cs
index 3254d8e..61dfc8b 100755
--- a/src/Tizen.Location/Tizen.Location/LocationError.cs
+++ b/src/Tizen.Location/Tizen.Location/LocationError.cs
@@ -28,33 +28,96 @@ namespace Tizen.Location
///
/// Location Manager error codes.
///
- /// 3
+ /// 3
public enum LocationError
{
- None = ErrorCode.None,/**< Successful */
- OutOfMemory = ErrorCode.OutOfMemory,/**< Out of memory error */
- InvalidParameter = ErrorCode.InvalidParameter,/**< Invalid parameter */
- AcessibilityNotallowed = ErrorCode.PermissionDenied,/**< Permission denied */
- NotSupported = ErrorCode.NotSupported,/**< Address family not supported */
- IncorrectMethod = LocationManagerError.Base | 0x01,/**< Location manager contains incorrect method for a given call */
- NetworkFailed = LocationManagerError.Base | 0x02,/**< Network unavailable */
- ServiceNotAvailable = LocationManagerError.Base | 0x03,/**< Location service is not available */
- SettingOff = LocationManagerError.Base | 0x04,/**< GPS/WPS, or MOCK setting is not enabled */
- SecuirtyRestricted = LocationManagerError.Base | 0x05,/**< Restricted by security system policy */
+ ///
+ /// Successful.
+ ///
+ None = ErrorCode.None,
+
+ ///
+ /// Out of memory error.
+ ///
+ OutOfMemory = ErrorCode.OutOfMemory,
+
+ ///
+ /// Invalid parameter.
+ ///
+ InvalidParameter = ErrorCode.InvalidParameter,
+
+ ///
+ /// Permission denied.
+ ///
+ AcessibilityNotallowed = ErrorCode.PermissionDenied,
+
+ ///
+ /// Address family not supported.
+ ///
+ NotSupported = ErrorCode.NotSupported,
+
+ ///
+ /// Location manager contains incorrect method for a given call.
+ ///
+ IncorrectMethod = LocationManagerError.Base | 0x01,
+
+ ///
+ /// Network unavailable.
+ ///
+ NetworkFailed = LocationManagerError.Base | 0x02,
+
+ ///
+ /// Location service is not available.
+ ///
+ ServiceNotAvailable = LocationManagerError.Base | 0x03,
+
+ ///
+ /// GPS/WPS, or MOCK setting is not enabled.
+ ///
+ SettingOff = LocationManagerError.Base | 0x04,
+
+ ///
+ /// Restricted by security system policy.
+ ///
+ SecuirtyRestricted = LocationManagerError.Base | 0x05,
}
///
/// Location Boundary error codes.
///
- /// 3
+ /// 3
public enum LocationBoundError
{
- None = ErrorCode.None,/**< Successful */
- OutOfMemory = ErrorCode.OutOfMemory,/**< Out of memory error */
- InvalidParameter = ErrorCode.InvalidParameter,/**< Invalid parameter */
- NotSupported = ErrorCode.NotSupported,/**< Not supported */
- IncorrectType = LocationManagerError.BoundsBase | 0x01,/**< Incorrect bounds type for a given call */
- IsAdded = LocationManagerError.BoundsBase | 0x02/**< Cannot remove bounds handle from location manager */
+
+ ///
+ /// Successful.
+ ///
+ None = ErrorCode.None,
+
+ ///
+ /// Out of memory error.
+ ///
+ OutOfMemory = ErrorCode.OutOfMemory,
+
+ ///
+ /// Invalid parameter.
+ ///
+ InvalidParameter = ErrorCode.InvalidParameter,
+
+ ///
+ /// Not supported.
+ ///
+ NotSupported = ErrorCode.NotSupported,
+
+ ///
+ /// Incorrect bounds type for a given call.
+ ///
+ IncorrectType = LocationManagerError.BoundsBase | 0x01,
+
+ ///
+ /// Cannot remove bounds handle from location manager.
+ ///
+ IsAdded = LocationManagerError.BoundsBase | 0x02
}
internal static class LocationErrorFactory