Add BluetoothDevice constructor with remote address (#6165)
authoranujk-singh <115205617+anujk-singh@users.noreply.github.com>
Mon, 24 Jun 2024 12:08:59 +0000 (17:38 +0530)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 12:08:59 +0000 (21:08 +0900)
Signed-off-by: anujk-singh <anujk.singh@samsung.com>
src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothDevice.cs

index b7a83ae..c5ae56d 100644 (file)
@@ -74,6 +74,16 @@ namespace Tizen.Network.Bluetooth
         }
 
         /// <summary>
+        /// Constructor with remote address of the device
+        /// </summary>
+        /// <since_tizen> 12 </since_tizen>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public BluetoothDevice(string remoteAddress)
+        {
+            RemoteDeviceAddress = remoteAddress;
+        }
+
+        /// <summary>
         /// The address of the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>