Release 4.0.0-preview1-00144
authorDotnetBuild <dotnetbuild.tizen@gmail.com>
Fri, 1 Sep 2017 15:00:14 +0000 (00:00 +0900)
committerDotnetBuild <dotnetbuild.tizen@gmail.com>
Fri, 1 Sep 2017 15:00:14 +0000 (00:00 +0900)
packaging/csapi-tizenfx.spec
src/Tizen.Content.Download/Tizen.Content.Download/Notification.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceErrorFactory.cs
src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionInternalManager.cs
src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionManager.cs
src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionProfile.cs

index 7ab0a01..1b17618 100644 (file)
@@ -10,7 +10,7 @@
 
 Name:       csapi-tizenfx
 Summary:    Assemblies of Tizen .NET
-Version:    4.0.0.142
+Version:    4.0.0.144
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
index b6fc854..b65dede 100755 (executable)
@@ -38,9 +38,11 @@ namespace Tizen.Content.Download
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/download</privilege>
+        /// <feature>http://tizen.org/feature/download</feature>
         /// <exception cref="ArgumentException">Thrown when it is failed due to an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">Thrown when it is failed due to an invalid operation.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported.</exception>
         public string Title
         {
             get
@@ -70,9 +72,11 @@ namespace Tizen.Content.Download
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/download</privilege>
+        /// <feature>http://tizen.org/feature/download</feature>
         /// <exception cref="ArgumentException">Thrown when it is failed due to an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">Thrown when it is failed due to an invalid operation.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported.</exception>
         public string Description
         {
             get
@@ -102,9 +106,11 @@ namespace Tizen.Content.Download
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/download</privilege>
+        /// <feature>http://tizen.org/feature/download</feature>
         /// <exception cref="ArgumentException">Thrown when it is failed due to an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">Thrown when it is failed due to an invalid operation.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported.</exception>
         public NotificationType Type
         {
             get
@@ -134,12 +140,14 @@ namespace Tizen.Content.Download
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/download</privilege>
+        /// <feature>http://tizen.org/feature/download</feature>
         /// <remarks>
         /// When the notification message is clicked, the action is decided by the application control.
         /// </remarks>
         /// <exception cref="ArgumentException">Thrown when it is failed due to an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">Thrown when it is failed due to an invalid operation.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported.</exception>
         public AppControl AppControlOngoing
         {
             get
@@ -169,12 +177,14 @@ namespace Tizen.Content.Download
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/download</privilege>
+        /// <feature>http://tizen.org/feature/download</feature>
         /// <remarks>
         /// When the notification message is clicked, the action is decided by the application control.
         /// </remarks>
         /// <exception cref="ArgumentException">Thrown when it is failed due to an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">Thrown when it is failed due to an invalid operation.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported.</exception>
         public AppControl AppControlCompleted
         {
             get
@@ -204,12 +214,14 @@ namespace Tizen.Content.Download
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/download</privilege>
+        /// <feature>http://tizen.org/feature/download</feature>
         /// <remarks>
         /// When the notification message is clicked, the action is decided by the application control.
         /// </remarks>
         /// <exception cref="ArgumentException">Thrown when it is failed due to an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">Thrown when it is failed due to an invalid operation.</exception>
         /// <exception cref="UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported.</exception>
         public AppControl AppControlFailed
         {
             get
index 57339c9..a48e007 100755 (executable)
@@ -60,55 +60,55 @@ namespace Tizen.Location.Geofence
         /// Geofence manager is not initialized.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        NotInitialized = -0x02C00000 | 0x100 | 0x01,
+        NotInitialized = -0x02C10000 | 0x01,
 
         /// <summary>
         /// Invalid geofence ID.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        InvalidID = -0x02C00000 | 0x100 | 0x02,
+        InvalidID = -0x02C10000 | 0x02,
 
         /// <summary>
         /// Exception occurs.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        Exception = -0x02C00000 | 0x100 | 0x03,
+        Exception = -0x02C10000 | 0x03,
 
         /// <summary>
         /// Geofencing is already started.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        AlreadyStarted = -0x02C00000 | 0x100 | 0x04,
+        AlreadyStarted = -0x02C10000 | 0x04,
 
         /// <summary>
         /// Too many geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        TooManyGeofence = -0x02C00000 | 0x100 | 0x05,
+        TooManyGeofence = -0x02C10000 | 0x05,
 
         /// <summary>
         /// Error in GPS, Wi-Fi, or BT.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        IPC = -0x02C00000 | 0x100 | 0x06,
+        IPC = -0x02C10000 | 0x06,
 
         /// <summary>
         /// DB error in the server side.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        DBFailed = -0x02C00000 | 0x100 | 0x07,
+        DBFailed = -0x02C10000 | 0x07,
 
         /// <summary>
         /// Access to the specified place is denied.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        PlaceAccessDenied = -0x02C00000 | 0x100 | 0x08,
+        PlaceAccessDenied = -0x02C10000 | 0x08,
 
         /// <summary>
         /// Access to the specified geofence is denied.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        GeofenceAccessDenied = -0x02C00000 | 0x100 | 0x09
+        GeofenceAccessDenied = -0x02C10000 | 0x09
     };
 
     internal class GeofenceErrorFactory
index cad51a7..3563334 100755 (executable)
@@ -88,10 +88,10 @@ namespace Tizen.Network.Connection
         private bool disposed = false;
         private static ConnectionInternalManager s_instance = null;
 
-        private EventHandler _ConnectionTypeChanged = null;
-        private EventHandler _IPAddressChanged = null;
-        private EventHandler _EthernetCableStateChanged = null;
-        private EventHandler _ProxyAddressChanged = null;
+        private EventHandler<ConnectionTypeEventArgs> _ConnectionTypeChanged = null;
+        private EventHandler<AddressEventArgs> _IPAddressChanged = null;
+        private EventHandler<EthernetCableStateEventArgs> _EthernetCableStateChanged = null;
+        private EventHandler<AddressEventArgs> _ProxyAddressChanged = null;
 
         private Interop.Connection.ConnectionAddressChangedCallback _connectionAddressChangedCallback;
         private Interop.Connection.ConnectionTypeChangedCallback _connectionTypeChangedCallback;
@@ -153,7 +153,7 @@ namespace Tizen.Network.Connection
             return s_threadName.Value.GetHandle();
         }
 
-        internal event EventHandler ConnectionTypeChanged
+        internal event EventHandler<ConnectionTypeEventArgs> ConnectionTypeChanged
         {
             add
             {
@@ -202,7 +202,7 @@ namespace Tizen.Network.Connection
             }
         }
 
-        internal event EventHandler EthernetCableStateChanged
+        internal event EventHandler<EthernetCableStateEventArgs> EthernetCableStateChanged
         {
             add
             {
@@ -250,7 +250,7 @@ namespace Tizen.Network.Connection
             }
         }
 
-        internal event EventHandler IPAddressChanged
+        internal event EventHandler<AddressEventArgs> IPAddressChanged
         {
             add
             {
@@ -303,7 +303,7 @@ namespace Tizen.Network.Connection
             }
         }
 
-        internal event EventHandler ProxyAddressChanged
+        internal event EventHandler<AddressEventArgs> ProxyAddressChanged
         {
             add
             {
index 2d37dab..9fa8b86 100755 (executable)
@@ -77,7 +77,9 @@ namespace Tizen.Network.Connection
         /// <feature>http://tizen.org/feature/network.telephony</feature>
         /// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
         /// <feature>http://tizen.org/feature/network.wifi</feature>
-        public static event EventHandler ConnectionTypeChanged
+        /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+        /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        public static event EventHandler<ConnectionTypeEventArgs> ConnectionTypeChanged
         {
             add
             {
@@ -96,7 +98,9 @@ namespace Tizen.Network.Connection
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/network.get</privilege>
         /// <feature>http://tizen.org/feature/network.ethernet</feature>
-        public static event EventHandler EthernetCableStateChanged
+        /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+        /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        public static event EventHandler<EthernetCableStateEventArgs> EthernetCableStateChanged
         {
             add
             {
@@ -118,7 +122,9 @@ namespace Tizen.Network.Connection
         /// <feature>http://tizen.org/feature/network.telephony</feature>
         /// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
         /// <feature>http://tizen.org/feature/network.wifi</feature>
-        public static event EventHandler IPAddressChanged
+        /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+        /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        public static event EventHandler<AddressEventArgs> IPAddressChanged
         {
             add
             {
@@ -140,7 +146,9 @@ namespace Tizen.Network.Connection
         /// <feature>http://tizen.org/feature/network.telephony</feature>
         /// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
         /// <feature>http://tizen.org/feature/network.wifi</feature>
-        public static event EventHandler ProxyAddressChanged
+        /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+        /// <exception cref="System.UnauthorizedAccessException">Thrown when a permission is denied.</exception>
+        public static event EventHandler<AddressEventArgs> ProxyAddressChanged
         {
             add
             {
index e7ceabd..e234476 100755 (executable)
@@ -23,7 +23,7 @@ using System.Runtime.InteropServices;
 namespace Tizen.Network.Connection
 {
     /// <summary>
-    /// This is the ConnectionProfile class. It provides event and propeties of the connection profile.
+    /// This is the ConnectionProfile class. It provides event and properties of the connection profile.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
     public class ConnectionProfile : IDisposable
@@ -32,7 +32,7 @@ namespace Tizen.Network.Connection
         private IAddressInformation IPv4;
         private IAddressInformation IPv6;
         private bool disposed = false;
-        private EventHandler _ProfileStateChanged = null;
+        private EventHandler<ProfileStateEventArgs> _ProfileStateChanged = null;
 
         private Interop.ConnectionProfile.ProfileStateChangedCallback _profileChangedCallback;
 
@@ -49,7 +49,8 @@ namespace Tizen.Network.Connection
         /// <feature>http://tizen.org/feature/network.telephony</feature>
         /// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
         /// <feature>http://tizen.org/feature/network.wifi</feature>
-        public event EventHandler ProfileStateChanged
+        /// <exception cref="System.NotSupportedException">Thrown when a feature is not supported.</exception>
+        public event EventHandler<ProfileStateEventArgs> ProfileStateChanged
         {
             add
             {