summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Jiung <jiung.yu@samsung.com>2017-03-17 16:15:09 +0900
committerJiung Yu <jiung.yu@samsung.com>2017-04-24 18:11:01 +0900
commit16975bdb6d822069bdc20df09509bd5c8801e427 (patch)
tree360d921c513c9a9265a15624c66b34e5d1ef9ddc
parentc4adb8242aedc44def75ed1f7f26fead484dee3b (diff)
downloadwifi-direct-submit/tizen/20170424.094938.tar.gz
wifi-direct-submit/tizen/20170424.094938.tar.bz2
wifi-direct-submit/tizen/20170424.094938.zip
Add IsInitialized propertysubmit/tizen/20170424.094938
Change-Id: I523a864727868ced6aad5417bb614b5902814873 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
-rw-r--r--Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManager.cs15
-rw-r--r--Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManagerImpl.cs7
-rw-r--r--packaging/csapi-network-wifi-direct.spec2
3 files changed, 23 insertions, 1 deletions
diff --git a/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManager.cs b/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManager.cs
index ff0c9c4..2bf795e 100644
--- a/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManager.cs
+++ b/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManager.cs
@@ -27,6 +27,21 @@ namespace Tizen.Network.WiFiDirect
public static class WiFiDirectManager
{
/// <summary>
+ /// A property to check whether the Wifidirect is initialized or not.
+ /// </summary>
+ /// <remarks>
+ /// If it is not initialized, false will be returned.
+ /// </remarks>
+ /// <exception cref="NotSupportedException">Thrown while setting this property when the wifidirect is not supported</exception>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static bool IsInitialized
+ {
+ get
+ {
+ return WiFiDirectManagerImpl.Instance.IsInitialize;
+ }
+ }
+ /// <summary>
/// A property to check whether the device is group owner or not.
/// </summary>
/// <remarks>
diff --git a/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManagerImpl.cs b/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManagerImpl.cs
index f376264..9c06edc 100644
--- a/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManagerImpl.cs
+++ b/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/WiFiDirectManagerImpl.cs
@@ -387,6 +387,13 @@ namespace Tizen.Network.WiFiDirect
}
}
+ internal bool IsInitialize
+ {
+ get
+ {
+ return Globals.IsInitialize;
+ }
+ }
internal bool IsGroupOwner
{
get
diff --git a/packaging/csapi-network-wifi-direct.spec b/packaging/csapi-network-wifi-direct.spec
index 2b019ce..a144d22 100644
--- a/packaging/csapi-network-wifi-direct.spec
+++ b/packaging/csapi-network-wifi-direct.spec
@@ -1,6 +1,6 @@
Name: csapi-network-wifi-direct
Summary: Tizen Wi-Fi Direct API for C#
-Version: 1.0.4
+Version: 1.0.5
Release: 1
Group: Development/Libraries
License: Apache-2.0