Release 4.0.0-preview1-00195 accepted/tizen/4.0/unified/20170913.153438 accepted/tizen/unified/20170913.154506
authorDotnetBuild <dotnetbuild.tizen@gmail.com>
Wed, 13 Sep 2017 00:10:55 +0000 (09:10 +0900)
committerDotnetBuild <dotnetbuild.tizen@gmail.com>
Wed, 13 Sep 2017 00:10:55 +0000 (09:10 +0900)
16 files changed:
Artifacts/Tizen.NET.4.0.0-preview1-00195.nupkg [moved from Artifacts/Tizen.NET.4.0.0-preview1-00194.nupkg with 96% similarity]
Artifacts/Tizen.NET.4.0.0-preview1-00195.symbols.nupkg [moved from Artifacts/Tizen.NET.4.0.0-preview1-00194.symbols.nupkg with 96% similarity]
Artifacts/Tizen.NET.Private.4.0.0-preview1-00195.nupkg [moved from Artifacts/Tizen.NET.Private.4.0.0-preview1-00194.nupkg with 96% similarity]
Artifacts/Tizen.NET.Private.4.0.0-preview1-00195.symbols.nupkg [moved from Artifacts/Tizen.NET.Private.4.0.0-preview1-00194.symbols.nupkg with 96% similarity]
Artifacts/Version.txt
Artifacts/bin/public/ElmSharp.Wearable.dll
Artifacts/bin/public/ElmSharp.Wearable.pdb
Artifacts/bin/public/Tizen.Content.MediaContent.dll
Artifacts/bin/public/Tizen.Multimedia.dll
Artifacts/bin/public/Tizen.Network.Bluetooth.dll
Artifacts/bin/public/Tizen.Network.Bluetooth.pdb
Artifacts/bin/public/Tizen.Network.Bluetooth.xml
packaging/csapi-tizenfx.spec
src/ElmSharp.Wearable/Interop/Interop.Eext.Rotary.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothAdapter.cs
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothAdapterImpl.cs

similarity index 96%
rename from Artifacts/Tizen.NET.4.0.0-preview1-00194.nupkg
rename to Artifacts/Tizen.NET.4.0.0-preview1-00195.nupkg
index 48340f3..01d0881 100644 (file)
Binary files a/Artifacts/Tizen.NET.4.0.0-preview1-00194.nupkg and b/Artifacts/Tizen.NET.4.0.0-preview1-00195.nupkg differ
similarity index 96%
rename from Artifacts/Tizen.NET.4.0.0-preview1-00194.symbols.nupkg
rename to Artifacts/Tizen.NET.4.0.0-preview1-00195.symbols.nupkg
index 587365f..7a2e0d6 100644 (file)
Binary files a/Artifacts/Tizen.NET.4.0.0-preview1-00194.symbols.nupkg and b/Artifacts/Tizen.NET.4.0.0-preview1-00195.symbols.nupkg differ
similarity index 96%
rename from Artifacts/Tizen.NET.Private.4.0.0-preview1-00194.nupkg
rename to Artifacts/Tizen.NET.Private.4.0.0-preview1-00195.nupkg
index efa284e..acc6cb7 100644 (file)
Binary files a/Artifacts/Tizen.NET.Private.4.0.0-preview1-00194.nupkg and b/Artifacts/Tizen.NET.Private.4.0.0-preview1-00195.nupkg differ
similarity index 96%
rename from Artifacts/Tizen.NET.Private.4.0.0-preview1-00194.symbols.nupkg
rename to Artifacts/Tizen.NET.Private.4.0.0-preview1-00195.symbols.nupkg
index 925060b..1d77983 100644 (file)
Binary files a/Artifacts/Tizen.NET.Private.4.0.0-preview1-00194.symbols.nupkg and b/Artifacts/Tizen.NET.Private.4.0.0-preview1-00195.symbols.nupkg differ
index 7f3730b..e87a1cb 100644 (file)
@@ -1,4 +1,4 @@
 Prefix:4.0.0
-Suffix:preview1-00194
-Number:194
-VCS:7fbf0c7609decacd945f592073327a151b5df657
+Suffix:preview1-00195
+Number:195
+VCS:c4e4c19dfb8a0db53f10454676c230022b197586
index ee0d2cc..143cc64 100644 (file)
Binary files a/Artifacts/bin/public/ElmSharp.Wearable.dll and b/Artifacts/bin/public/ElmSharp.Wearable.dll differ
index 844100d..e08f3e7 100644 (file)
Binary files a/Artifacts/bin/public/ElmSharp.Wearable.pdb and b/Artifacts/bin/public/ElmSharp.Wearable.pdb differ
index 09d7a6f..6a9692d 100644 (file)
Binary files a/Artifacts/bin/public/Tizen.Content.MediaContent.dll and b/Artifacts/bin/public/Tizen.Content.MediaContent.dll differ
index 2cd4149..8edade2 100644 (file)
Binary files a/Artifacts/bin/public/Tizen.Multimedia.dll and b/Artifacts/bin/public/Tizen.Multimedia.dll differ
index 164e7eb..7e3d73d 100644 (file)
Binary files a/Artifacts/bin/public/Tizen.Network.Bluetooth.dll and b/Artifacts/bin/public/Tizen.Network.Bluetooth.dll differ
index 362580a..78125ed 100644 (file)
Binary files a/Artifacts/bin/public/Tizen.Network.Bluetooth.pdb and b/Artifacts/bin/public/Tizen.Network.Bluetooth.pdb differ
index 5ce5709..9660727 100644 (file)
             <summary>
             The StateChanged event is raised when the Bluetooth adapter state is changed.
             </summary>
+            <exception cref="!:System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+            <exception cref="!:System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         </member>
         <member name="E:Tizen.Network.Bluetooth.BluetoothAdapter.NameChanged">
             <summary>
             The NameChanged event is raised when the Bluetooth adapter name is changed.
             </summary>
+            <exception cref="!:System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+            <exception cref="!:System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         </member>
         <member name="E:Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityModeChanged">
             <summary>
             The VisibilityModeChanged event is raised when the Bluetooth adapter visibility mode is changed.
             </summary>
+            <exception cref="!:System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+            <exception cref="!:System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         </member>
         <member name="E:Tizen.Network.Bluetooth.BluetoothAdapter.VisibilityDurationChanged">
             <summary>
             The VisibilityDurationChanged event is raised very second until the visibility mode is changed to NonDiscoverable.
             </summary>
+            <exception cref="!:System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+            <exception cref="!:System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         </member>
         <member name="E:Tizen.Network.Bluetooth.BluetoothAdapter.DiscoveryStateChanged">
             <summary>
             The DiscoveryStateChanged event is raised when the device discovery state is changed.
             </summary>
+            <exception cref="!:System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+            <exception cref="!:System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         </member>
         <member name="E:Tizen.Network.Bluetooth.BluetoothAdapter.ScanResultChanged">
             <summary>
             This event is called when the LE scan result is obtained.
             </summary>
+            <exception cref="!:System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+            <exception cref="!:System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         </member>
         <member name="M:Tizen.Network.Bluetooth.BluetoothAdapter.StartDiscovery">
             <summary>
index d5c9e9b..5271ff5 100644 (file)
@@ -10,7 +10,7 @@
 
 Name:       csapi-tizenfx
 Summary:    Assemblies of Tizen .NET
-Version:    4.0.0.194
+Version:    4.0.0.195
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
index 619077d..aa004b1 100644 (file)
@@ -34,6 +34,7 @@ internal static partial class Interop
             CounterClockwise
         }
 
+        [StructLayout(LayoutKind.Sequential)]
         internal struct Eext_Rotary_Event_Info
         {
             public Eext_Rotary_Event_Direction Direction;
index ee9aca5..756944a 100644 (file)
@@ -35,7 +35,14 @@ namespace Tizen.Network.Bluetooth
         {
             get
             {
-                return BluetoothAdapterImpl.Instance.IsBluetoothEnabled;
+                try
+                {
+                    return BluetoothAdapterImpl.Instance.IsBluetoothEnabled;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
@@ -85,7 +92,14 @@ namespace Tizen.Network.Bluetooth
             }
             set
             {
-                BluetoothAdapterImpl.Instance.Name = value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.Name = value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
@@ -161,89 +175,186 @@ namespace Tizen.Network.Bluetooth
         /// <summary>
         /// The StateChanged event is raised when the Bluetooth adapter state is changed.
         /// </summary>
+        /// <exception cref="System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+        /// <exception cref="System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         static public event EventHandler<StateChangedEventArgs> StateChanged
         {
             add
             {
-                BluetoothAdapterImpl.Instance.StateChanged += value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.StateChanged += value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
             remove
             {
-                BluetoothAdapterImpl.Instance.StateChanged -= value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.StateChanged -= value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
         /// <summary>
         /// The NameChanged event is raised when the Bluetooth adapter name is changed.
         /// </summary>
+        /// <exception cref="System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+        /// <exception cref="System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         static public event EventHandler<NameChangedEventArgs> NameChanged
         {
             add
             {
-                BluetoothAdapterImpl.Instance.NameChanged += value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.NameChanged += value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
             remove
             {
-                BluetoothAdapterImpl.Instance.NameChanged -= value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.NameChanged -= value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
         /// <summary>
         /// The VisibilityModeChanged event is raised when the Bluetooth adapter visibility mode is changed.
         /// </summary>
+        /// <exception cref="System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+        /// <exception cref="System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         static public event EventHandler<VisibilityModeChangedEventArgs> VisibilityModeChanged
         {
             add
             {
-                BluetoothAdapterImpl.Instance.VisibilityModeChanged += value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.VisibilityModeChanged += value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
             remove
             {
-                BluetoothAdapterImpl.Instance.VisibilityModeChanged -= value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.VisibilityModeChanged -= value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
         /// <summary>
         /// The VisibilityDurationChanged event is raised very second until the visibility mode is changed to NonDiscoverable.
         /// </summary>
+        /// <exception cref="System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+        /// <exception cref="System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         static public event EventHandler<VisibilityDurationChangedEventArgs> VisibilityDurationChanged
         {
             add
             {
-                BluetoothAdapterImpl.Instance.VisibilityDurationChanged += value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.VisibilityDurationChanged += value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
             remove
             {
-                BluetoothAdapterImpl.Instance.VisibilityDurationChanged -= value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.VisibilityDurationChanged -= value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
         /// <summary>
         /// The DiscoveryStateChanged event is raised when the device discovery state is changed.
         /// </summary>
+        /// <exception cref="System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+        /// <exception cref="System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         static public event EventHandler<DiscoveryStateChangedEventArgs> DiscoveryStateChanged
         {
             add
             {
-                BluetoothAdapterImpl.Instance.DiscoveryStateChanged += value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.DiscoveryStateChanged += value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
             remove
             {
-                BluetoothAdapterImpl.Instance.DiscoveryStateChanged -= value;
+                try
+                {
+                    BluetoothAdapterImpl.Instance.DiscoveryStateChanged -= value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
         /// <summary>
         /// This event is called when the LE scan result is obtained.
         /// </summary>
+        /// <exception cref="System.NotSupportedException">Thrown when the Bluetooth is not supported.</exception>
+        /// <exception cref="System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         static public event EventHandler<AdapterLeScanResultChangedEventArgs> ScanResultChanged
         {
             add
             {
-                BluetoothLeImplAdapter.Instance.AdapterLeScanResultChanged += value;
+                try
+                {
+                    BluetoothLeImplAdapter.Instance.AdapterLeScanResultChanged += value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
-            remove {
-                BluetoothLeImplAdapter.Instance.AdapterLeScanResultChanged -= value;
+            remove
+            {
+                try
+                {
+                    BluetoothLeImplAdapter.Instance.AdapterLeScanResultChanged -= value;
+                }
+                catch (TypeInitializationException e)
+                {
+                    throw e.InnerException;
+                }
             }
         }
 
@@ -336,7 +447,14 @@ namespace Tizen.Network.Bluetooth
         /// <exception cref="System.InvalidOperationException">Thrown when the Bluetooth is not enabled.</exception>
         static public bool IsServiceUsed(string serviceUuid)
         {
-            return BluetoothAdapterImpl.Instance.IsServiceUsed(serviceUuid);
+            try
+            {
+                return BluetoothAdapterImpl.Instance.IsServiceUsed(serviceUuid);
+            }
+            catch (TypeInitializationException e)
+            {
+                throw e.InnerException;
+            }
         }
 
         /// <summary>
index 444c461..14e2981 100644 (file)
@@ -598,7 +598,6 @@ namespace Tizen.Network.Bluetooth
             if (ret != (int)BluetoothError.None)
             {
                 Log.Error (Globals.LogTag, "Failed to deinitialize bluetooth, Error - " + (BluetoothError)ret);
-                BluetoothErrorFactory.ThrowBluetoothException (ret);
             }
             else
             {