From a8eceee04e210640c8c0d4818c2695e842404a81 Mon Sep 17 00:00:00 2001 From: "chleun.moon" Date: Mon, 21 Aug 2017 11:19:08 +0900 Subject: [PATCH] [WiFi] Review wifi API cs files PS2: Restored unchanged files PS3: Restored Interop.WiFi.cs PS6: Rebase PS7: Revert to PS5 PS8: Rebase PS9: Further fixes Change-Id: I8bf460e55c256ce6a79247864969720662721757 --- .../ConnectionStateChangedEventArgs.cs | 6 +- .../DeviceStateChangedEventArgs.cs | 4 +- .../Tizen.Network.WiFi/IWiFiEap.cs | 6 +- .../RssiLevelChangedEventArgs.cs | 4 +- .../Tizen.Network.WiFi/WiFiAP.cs | 102 +++++++------- .../Tizen.Network.WiFi/WiFiConfiguration.cs | 40 +++--- .../Tizen.Network.WiFi/WiFiEap.cs | 94 ++++++------- .../Tizen.Network.WiFi/WiFiEapConfiguration.cs | 60 ++++----- .../Tizen.Network.WiFi/WiFiEnumerations.cs | 64 ++++----- .../Tizen.Network.WiFi/WiFiManager.cs | 148 ++++++++++----------- .../Tizen.Network.WiFi/WiFiNetwork.cs | 50 +++---- .../Tizen.Network.WiFi/WiFiSecurity.cs | 34 ++--- 12 files changed, 306 insertions(+), 306 deletions(-) diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/ConnectionStateChangedEventArgs.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/ConnectionStateChangedEventArgs.cs index 352a777..869a0ea 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/ConnectionStateChangedEventArgs.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/ConnectionStateChangedEventArgs.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Network.WiFi { /// - /// An extended EventArgs class which contains changed connection state. + /// An extended EventArgs class which contains the changed connection state. /// /// 3 public class ConnectionStateChangedEventArgs : EventArgs @@ -34,7 +34,7 @@ namespace Tizen.Network.WiFi } /// - /// The wifi connection state. + /// The Wi-Fi connection state. /// /// 3 public WiFiConnectionState State @@ -46,7 +46,7 @@ namespace Tizen.Network.WiFi } /// - /// The access point + /// The access point. /// /// 3 public WiFiAP AP diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/DeviceStateChangedEventArgs.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/DeviceStateChangedEventArgs.cs index f3e45ba..b53bb32 100644 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/DeviceStateChangedEventArgs.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/DeviceStateChangedEventArgs.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Network.WiFi { /// - /// An extended EventArgs class which contains changed device state. + /// An extended EventArgs class which contains the changed device state. /// /// 3 public class DeviceStateChangedEventArgs : EventArgs @@ -32,7 +32,7 @@ namespace Tizen.Network.WiFi } /// - /// The wifi device state. + /// The Wi-Fi device state. /// /// 3 public WiFiDeviceState State diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/IWiFiEap.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/IWiFiEap.cs index 1a12f74..b16c5e3 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/IWiFiEap.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/IWiFiEap.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Network.WiFi { /// - /// An abstract class for WiFi EAP information. + /// An abstract class for the Wi-Fi EAP information. /// /// 3 internal interface IWiFiEap @@ -31,13 +31,13 @@ namespace Tizen.Network.WiFi string CaCertificationFile { get; set; } /// - /// The EAP type of wifi. + /// The EAP type of the Wi-Fi. /// /// 3 WiFiEapType EapType { get; set; } /// - /// The type of EAP phase2 authentication of Wi-Fi. + /// The type of EAP phase2 authentication of the Wi-Fi. /// /// 3 WiFiAuthenticationType AuthenticationType { get; set; } diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/RssiLevelChangedEventArgs.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/RssiLevelChangedEventArgs.cs index 374c9c8..fbf2509 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/RssiLevelChangedEventArgs.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/RssiLevelChangedEventArgs.cs @@ -19,7 +19,7 @@ using System; namespace Tizen.Network.WiFi { /// - /// An extended EventArgs class which contains changed RSSI level. + /// An extended EventArgs class which contains the changed RSSI level. /// /// 3 public class RssiLevelChangedEventArgs : EventArgs @@ -32,7 +32,7 @@ namespace Tizen.Network.WiFi } /// - /// The wifi RSSI level. + /// The Wi-Fi RSSI level. /// /// 3 public WiFiRssiLevel Level diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiAP.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiAP.cs index 6877e75..350b275 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiAP.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiAP.cs @@ -21,7 +21,7 @@ using System.Collections.Generic; namespace Tizen.Network.WiFi { /// - /// A class for managing the network information of the access point(AP). + /// A class for managing the network information of the access point (AP). /// /// 3 public class WiFiAP : IDisposable @@ -36,10 +36,10 @@ namespace Tizen.Network.WiFi private bool _disposed = false; /// - /// The network information of the access point(AP). + /// The network information of the access point (AP). /// /// 3 - /// WiFiNetwork instance containing network information of AP. + /// The WiFiNetwork instance containing the network information of the AP. public WiFiNetwork NetworkInformation { get @@ -49,10 +49,10 @@ namespace Tizen.Network.WiFi } /// - /// The security information of the access point(AP). + /// The security information of the access point (AP). /// /// 3 - /// WiFiSecurity instance containing security information of AP. + /// The WiFiSecurity instance containing security information of the AP. public WiFiSecurity SecurityInformation { get @@ -75,12 +75,12 @@ namespace Tizen.Network.WiFi /// The Extended Service Set Identifier of the access point. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when Essid is passed as null. - /// Thrown when it is failed due to an invalid parameter. + /// Thrown when the ESSID is passed as null. + /// Thrown when the method failed due to an invalid parameter. /// Thrown when the system is out of memory. - /// Thrown when it is failed due to invalid operation. + /// Thrown when the method failed due to an invalid operation. public WiFiAP(string essid) { Log.Debug(Globals.LogTag, "New WiFiAP. Essid: " + essid); @@ -93,15 +93,15 @@ namespace Tizen.Network.WiFi /// /// 3 /// The Extended Service Set Identifier of the access point. - /// The value to set hidden AP + /// The value to set a hidden AP. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when Essid is passed as null. - /// Thrown when it is failed due to an invalid parameter. + /// Thrown when the ESSID is passed as null. + /// Thrown when the method failed due to an invalid parameter. /// Thrown when the system is out of memory. - /// Thrown when it is failed due to invalid operation. + /// Thrown when the method failed due to an invalid operation. public WiFiAP(string essid, bool hidden) { createHandle(essid, hidden); @@ -174,11 +174,11 @@ namespace Tizen.Network.WiFi /// 3 /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when object instance is disposed or released. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the object instance is disposed or released. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public void Refresh() { Log.Debug(Globals.LogTag, "Refresh"); @@ -198,16 +198,16 @@ namespace Tizen.Network.WiFi /// Connects the access point asynchronously. /// /// 3 - /// A task indicating whether the Connect method is done or not. + /// A task indicating whether the connect method is done or not. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when object instance is disposed or released. + /// Thrown when the object instance is disposed or released. /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public Task ConnectAsync() { Log.Debug(Globals.LogTag, "ConnectAsync"); @@ -247,22 +247,22 @@ namespace Tizen.Network.WiFi } /// - /// Connects the access point with WPS asynchronously. + /// Connects the access point with the WPS asynchronously. /// /// 3 - /// A WpsInfo instance which is of type WpsPbcInfo or WpsPinInfo. + /// A WpsInfo instance which is type of WpsPbcInfo or WpsPinInfo. /// A task indicating whether the ConnectWps method is done or not. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.profile /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when object instance is disposed or released. - /// Thrown when WpsPinInfo object is constructed with null pin. - /// Thrown when WpsPinInfo object is constructed with pin which is an empty string or more than 7 characters. + /// Thrown when the object instance is disposed or released. + /// Thrown when the WpsPinInfo object is constructed with a null pin. + /// Thrown when the WpsPinInfo object is constructed with a pin which is an empty string or more than 7 characters. /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public Task ConnectWpsAsync(WpsInfo info) { Log.Debug(Globals.LogTag, "ConnectWpsAsync"); @@ -323,7 +323,7 @@ namespace Tizen.Network.WiFi } /// - /// Connects the access point with WPS without ssid asynchronously. + /// Connects the access point with WPS without SSID asynchronously. /// /// 3 /// A WpsInfo instance which is of type WpsPbcInfo or WpsPinInfo. @@ -335,13 +335,13 @@ namespace Tizen.Network.WiFi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get /// http://tizen.org/privilege/network.profile - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when WpsPinInfo object is constructed with null pin. - /// Thrown when WpsPinInfo object is constructed with pin which is not of 4 or 8 characters long. + /// Thrown when the WpsPinInfo object is constructed with a null pin. + /// Thrown when the WpsPinInfo object is constructed with a pin which is not of 4 or 8 characters long. /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public static Task ConnectWpsWithoutSsidAsync(WpsInfo info) { TaskCompletionSource task = new TaskCompletionSource(); @@ -401,16 +401,16 @@ namespace Tizen.Network.WiFi /// Disconnects the access point asynchronously. /// /// 3 - /// A task indicating whether the Disconnect method is done or not. + /// A task indicating whether the disconnect method is done or not. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when object instance is disposed or released. + /// Thrown when the object instance is disposed or released. /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public Task DisconnectAsync() { Log.Debug(Globals.LogTag, "DisconnectAsync"); @@ -448,19 +448,19 @@ namespace Tizen.Network.WiFi } /// - /// Deletes the information of stored access point and disconnects it when it is connected.
- /// If an AP is connected, then connection information will be stored. This information is used when a connection to that AP is established automatically. + /// Deletes the information of a stored access point and disconnects it when the AP is connected.
+ /// If an AP is connected, then the connection information will be stored. This information is used when a connection to that AP is established automatically. ///
/// 3 /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.profile /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. - /// Thrown when object instance is disposed or released. + /// Thrown when the object instance is disposed or released. /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public void ForgetAP() { Log.Debug(Globals.LogTag, "ForgetAP"); @@ -478,7 +478,7 @@ namespace Tizen.Network.WiFi } /// - /// An abstract class which is used to represent WPS information of access point. + /// An abstract class which is used to represent the WPS information of the access point. /// /// 3 public abstract class WpsInfo @@ -486,14 +486,14 @@ namespace Tizen.Network.WiFi } /// - /// A class which is used to represent WPS PBC information of access point. + /// A class which is used to represent WPS PBC information of the access point. /// public class WpsPbcInfo : WpsInfo { } /// - /// A class which is used to represent WPS PIN information of access point. + /// A class which is used to represent WPS PIN information of the access point. /// public class WpsPinInfo : WpsInfo { diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiConfiguration.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiConfiguration.cs index dabfb31..199785d 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiConfiguration.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiConfiguration.cs @@ -33,10 +33,10 @@ namespace Tizen.Network.WiFi private WiFiEapConfiguration _eapConfig; /// - /// The name of access point(AP). + /// The name of the access point (AP). /// /// 3 - /// Name assigned to AP in WiFi configuration. + /// Name assigned to AP in the Wi-Fi configuration. public string Name { get @@ -53,10 +53,10 @@ namespace Tizen.Network.WiFi } /// - /// The security type of access point(AP). + /// The security type of the access point (AP). /// /// 3 - /// Security type of AP in WiFi configuration. + /// Security type of AP in the Wi-Fi configuration. public WiFiSecurityType SecurityType { get @@ -76,9 +76,9 @@ namespace Tizen.Network.WiFi /// /// 3 /// Proxy address of the access point. - /// Thrown while setting this property when WiFi is not supported. + /// Thrown while setting this property when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public string ProxyAddress { get @@ -109,13 +109,13 @@ namespace Tizen.Network.WiFi } /// - /// A property check whether the access point(AP) is hidden or not. + /// A property check whether the access point (AP) is hidden. /// /// 3 - /// Boolean value indicating whether AP is hidden or not. - /// Thrown while setting this property when WiFi is not supported. + /// Boolean value indicating whether the AP is hidden. + /// Thrown while setting this property when the Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public bool IsHidden { get @@ -144,10 +144,10 @@ namespace Tizen.Network.WiFi } /// - /// The EAP Configuration. + /// EAP configuration. /// /// 3 - /// EAP configuration assigned to WiFi. + /// EAP configuration assigned to the Wi-Fi. public WiFiEapConfiguration EapConfiguration { get @@ -164,20 +164,20 @@ namespace Tizen.Network.WiFi } /// - /// Creates a WiFiConfiguration object with the given name, passphrase and securetype. + /// Creates a WiFiConfiguration object with the given name, passphrase, and securetype. /// /// 3 - /// Name of the WiFi. - /// Password to access the WiFi. - /// Security type of the WiFi. + /// Name of the Wi-Fi. + /// Password to access the Wi-Fi. + /// Security type of the Wi-Fi. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. + /// Thrown when the Wi-Fi is not supported. /// Thrown when permission is denied. /// Thrown when the object is constructed with name as null. /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when it is failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public WiFiConfiguration(string name, string passPhrase, WiFiSecurityType type) { if (name == null) @@ -202,7 +202,7 @@ namespace Tizen.Network.WiFi } /// - /// A method to destroy the managed objects in WiFiConfiguration. + /// A method to destroy the managed objects in the WiFiConfiguration. /// /// 3 public void Dispose() diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEap.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEap.cs index dd89ccd..ace465d 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEap.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEap.cs @@ -24,7 +24,7 @@ using System.Runtime.InteropServices; namespace Tizen.Network.WiFi { /// - /// A class for managing the EAP information of access point(AP). + /// A class for managing the EAP information of the access point (AP). /// /// 3 public class WiFiEap : IWiFiEap @@ -36,10 +36,10 @@ namespace Tizen.Network.WiFi /// /// 3 /// CA certification file of EAP. - /// Thrown while setting this value when WiFi is not supported. - /// Thrown while setting this value when file value is null. + /// Thrown while setting this value when Wi-Fi is not supported. + /// Thrown while setting this value when the file value is null. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public string CaCertificationFile { get @@ -69,13 +69,13 @@ namespace Tizen.Network.WiFi } /// - /// The EAP type of wifi. + /// The EAP type of Wi-Fi. /// /// 3 /// Type of EAP. - /// Thrown while setting this value when WiFi is not supported. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public WiFiEapType EapType { get @@ -100,13 +100,13 @@ namespace Tizen.Network.WiFi } /// - /// The type of EAP phase2 authentication of Wi-Fi. + /// The type of EAP phase 2 authentication of the Wi-Fi. /// /// 3 - /// Authentication type of WiFi. - /// Thrown while setting this value when WiFi is not supported. + /// Authentication type of the Wi-Fi. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public WiFiAuthenticationType AuthenticationType { get @@ -141,10 +141,10 @@ namespace Tizen.Network.WiFi /// 3 /// The file path of private key. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the system is out of memory. + /// Thrown when the method fails due to an invalid parameter. + /// Thrown when the method fails due to an invalid operation. public string GetPrivateKeyFile() { IntPtr strPtr; @@ -164,10 +164,10 @@ namespace Tizen.Network.WiFi /// The file path of private key. /// The password. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when file path of private key is null. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the file path of private key is null. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due an to invalid operation. public void SetPrivateKeyFile(string privateKeyFile, string password) { if (privateKeyFile == null) @@ -183,15 +183,15 @@ namespace Tizen.Network.WiFi } /// - /// Gets the Client Certificate of EAP. + /// Gets the client certificate of EAP. /// /// 3 - /// The file path of Client Certificate. + /// The file path of client certificate. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the system is out of memory. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due an to invalid operation. public string GetClientCertFile() { IntPtr strPtr; @@ -205,15 +205,15 @@ namespace Tizen.Network.WiFi } /// - /// Sets the CA Certificate of EAP. + /// Sets the CA certificate of EAP. /// /// 3 - /// The file path of Client Certificate. + /// The file path of client certificate. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when file path of Client Certificate is null. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the file path of client certificate is null. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public void SetClientCertFile(string clientCertFile) { if (clientCertFile == null) @@ -234,10 +234,10 @@ namespace Tizen.Network.WiFi /// 3 /// The user name /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the system is out of memory. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public string GetUserName() { IntPtr strptr; @@ -257,10 +257,10 @@ namespace Tizen.Network.WiFi /// 3 /// True if password is set, false if password is not set. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the system is out of memory. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public bool IsPasswordSet() { IntPtr strptr; @@ -280,10 +280,10 @@ namespace Tizen.Network.WiFi /// 3 /// The user name /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when the user name is passed as null. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the user name is passed as null. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public void SetUserName(string userName) { if (userName == null) @@ -304,10 +304,10 @@ namespace Tizen.Network.WiFi /// 3 /// The password /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when the password is passed as null. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the password is passed as null. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public void SetPassword(string password) { if (password == null) diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEapConfiguration.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEapConfiguration.cs index 387bb23..0add948 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEapConfiguration.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEapConfiguration.cs @@ -28,13 +28,13 @@ namespace Tizen.Network.WiFi private Interop.WiFi.SafeWiFiConfigHandle _configHandle; /// - /// The file path of CA Certificate of EAP. + /// The file path of CA certificate of EAP. /// /// 3 /// CA certification file of EAP. - /// Thrown while setting this value when WiFi is not supported. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public string CaCertificationFile { get @@ -60,13 +60,13 @@ namespace Tizen.Network.WiFi } /// - /// The EAP type of wifi. + /// The EAP type of the Wi-Fi. /// /// 3 /// Type of EAP. - /// Thrown while setting this value when WiFi is not supported. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public WiFiEapType EapType { get @@ -91,13 +91,13 @@ namespace Tizen.Network.WiFi } /// - /// The type of EAP phase2 authentication of Wi-Fi. + /// The type of EAP phase2 authentication of the Wi-Fi. /// /// 3 - /// Authentication type of WiFi. - /// Thrown while setting this value when WiFi is not supported. + /// Authentication type of the Wi-Fi. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public WiFiAuthenticationType AuthenticationType { get @@ -122,13 +122,13 @@ namespace Tizen.Network.WiFi } /// - /// The anonymous identity of access point(AP). + /// The anonymous identity of the access point (AP). /// /// 3 /// Represents the anonymous identity of the access point. - /// Thrown while setting this value when WiFi is not supported. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public string AnonymousIdentify { get @@ -154,13 +154,13 @@ namespace Tizen.Network.WiFi } /// - /// The identity of access point(AP). + /// The identity of the access point (AP). /// /// 3 /// Represents the identity of the access point. - /// Thrown while setting this value when WiFi is not supported. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public string Identity { get @@ -186,13 +186,13 @@ namespace Tizen.Network.WiFi } /// - /// The subject match of access point(AP). + /// The subject match of the access point (AP). /// /// 3 - /// Represents the subject match of AP. - /// Thrown while setting this value when WiFi is not supported. + /// Represents the subject match of the AP. + /// Thrown while setting this value when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public string SubjectMatch { get @@ -223,14 +223,14 @@ namespace Tizen.Network.WiFi } /// - /// Gets access point client cert file from configuration. + /// Gets the access point client certificate file from the configuration. /// /// 3 - /// The certification authority(CA) certificates file of access point. + /// The certification authority (CA) certificates file of the access point. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public string GetClientCertFile() { IntPtr strPtr; @@ -244,15 +244,15 @@ namespace Tizen.Network.WiFi } /// - /// Sets access point client cert file to configuration. + /// Sets the access point client certificate file to configuration. /// /// 3 /// The private key file. - /// The certification authority(CA) certificates file of access point. + /// The certification authority(CA) certifies the files of access points. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public void SetClientCertFile(string privateKey, string clientCert) { int ret = Interop.WiFi.Config.SetEapClientCertFile(_configHandle, privateKey, clientCert); diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEnumerations.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEnumerations.cs index 8627d03..2fc3656 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEnumerations.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiEnumerations.cs @@ -19,178 +19,178 @@ using System; namespace Tizen.Network.WiFi { /// - /// Enumeration for Wi-Fi EAP type. + /// Enumeration for the Wi-Fi EAP types. /// /// 3 public enum WiFiEapType { /// - /// EAP PEAP type + /// EAP PEAP type. /// /// 3 Peap = 0, /// - /// EAP TLS type + /// EAP TLS type. /// /// 3 Tls = 1, /// - /// EAP TTLS type + /// The EAP TTLS type. /// /// 3 Ttls = 2, /// - /// EAP SIM type + /// EAP SIM type. /// /// 3 Sim = 3, /// - /// EAP AKA type + /// EAP AKA type. /// /// 3 Aka = 4 } /// - /// Enumeration for Wi-Fi RSSI level. + /// Enumeration for the Wi-Fi RSSI levels. /// /// 3 public enum WiFiRssiLevel { /// - /// Level 0 + /// Level 0. /// /// 3 Level0 = 0, /// - /// Level 1 + /// Level 1. /// /// 3 Level1 = 1, /// - /// Level 2 + /// Level 2. /// /// 3 Level2 = 2, /// - /// Level 3 + /// Level 3. /// /// 3 Level3 = 3, /// - /// Level 4 + /// Level 4. /// /// 3 Level4 = 4 } /// - /// Enumeration for Wi-Fi connection state. + /// Enumeration for the Wi-Fi connection states. /// /// 3 public enum WiFiConnectionState { /// - /// Connection failed state + /// Connection failed state. /// /// 3 Failure = -1, /// - /// Disconnected state + /// Disconnected state. /// /// 3 Disconnected = 0, /// - /// Association state + /// Association state. /// /// 3 Association = 1, /// - /// Configuration state + /// Configuration state. /// /// 3 Congfiguration = 2, /// - /// Connected state + /// Connected state. /// /// 3 Connected = 3 } /// - /// Enumeration for Wi-Fi device state. + /// Enumeration for the Wi-Fi device states. /// /// 3 public enum WiFiDeviceState { /// - /// Wi-Fi is Deactivated + /// Wi-Fi is deactivated. /// /// 3 Deactivated = 0, /// - /// Wi-Fi is activated + /// Wi-Fi is activated. /// /// 3 Activated = 1 } /// - /// Enumeration for Wi-Fi proxy type. + /// Enumeration for the Wi-Fi proxy types. /// /// 3 public enum WiFiProxyType { /// - /// Direct connection + /// Direct connection. /// /// 3 Direct = 0, /// - /// Auto configuration(Use PAC file). If URL property is not set, DHCP/WPAD auto-discover will be tried + /// Auto configuration(Use PAC file). If the URL property is not set, DHCP/WPAD auto-discover will be tried. /// /// 3 Auto = 1, /// - /// Manual configuration + /// Manual configuration. /// /// 3 Manual = 2 } /// - /// Enumeration for Wi-Fi authentication type. + /// Enumeration for the Wi-Fi authentication types. /// /// 3 public enum WiFiAuthenticationType { /// - /// EAP phase2 authentication none + /// EAP phase 2 authentication none. /// /// 3 None = 0, /// - /// EAP phase2 authentication PAP + /// EAP phase 2 authentication PAP. /// /// 3 Pap = 1, /// - /// EAP phase2 authentication MSCHAP + /// EAP phase 2 authentication MSCHAP. /// /// 3 Mschap = 2, /// - /// EAP phase2 authentication MSCHAPv2 + /// EAP phase 2 authentication MSCHAPv2. /// /// 3 Mschapv2 = 3, /// - /// EAP phase2 authentication GTC + /// EAP phase 2 authentication GTC. /// /// 3 Gtc = 4, /// - /// EAP phase2 authentication MD5 + /// EAP phase 2 authentication MD5. /// /// 3 Md5 = 5 diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManager.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManager.cs index ed06c62..192e11b 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManager.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiManager.cs @@ -23,7 +23,7 @@ using System.ComponentModel; namespace Tizen.Network.WiFi { /// - /// A class for managing WiFiManager handle. + /// A class for managing the WiFiManager handle. /// [EditorBrowsable(EditorBrowsableState.Never)] public sealed class SafeWiFiManagerHandle : SafeHandle @@ -53,7 +53,7 @@ namespace Tizen.Network.WiFi } /// - /// A manager class which allows applications to connect to a Wireless Local Area Network (WLAN) and to transfer data over the network.
+ /// A manager class which allows applications to connect to a Wireless Local Area Network (WLAN) and transfer data over the network.
/// The Wi-Fi Manager enables your application to activate and deactivate a local Wi-Fi device, and to connect to a WLAN network in the infrastructure mode. ///
/// 3 @@ -63,7 +63,7 @@ namespace Tizen.Network.WiFi /// The local MAC address. /// /// 3 - /// Represents the mac address of the WiFi. + /// Represents the MAC address of the Wi-Fi. /// http://tizen.org/privilege/network.get static public string MacAddress { @@ -77,7 +77,7 @@ namespace Tizen.Network.WiFi /// The name of the network interface. /// /// 3 - /// Interface name of WiFi. + /// Interface name of the Wi-Fi. /// http://tizen.org/privilege/network.get static public string InterfaceName { @@ -91,7 +91,7 @@ namespace Tizen.Network.WiFi /// The network connection state. /// /// 3 - /// Represents the connection state of WiFi. + /// Represents the connection state of the Wi-Fi. /// http://tizen.org/privilege/network.get static public WiFiConnectionState ConnectionState { @@ -102,10 +102,10 @@ namespace Tizen.Network.WiFi } /// - /// A property to Check whether Wi-Fi is activated. + /// A property to check whether Wi-Fi is activated. /// /// 3 - /// Boolean value to check whether WiFi is activated or not. + /// Boolean value to check whether Wi-Fi is activated or not. /// http://tizen.org/privilege/network.get static public bool IsActive { @@ -152,7 +152,7 @@ namespace Tizen.Network.WiFi } /// - /// RssiLevelChanged is raised when the RSSI of connected Wi-Fi is changed. + /// RssiLevelChanged is raised when the RSSI of the connected Wi-Fi is changed. /// /// 3 /// http://tizen.org/privilege/network.get @@ -171,7 +171,7 @@ namespace Tizen.Network.WiFi /// /// BackgroundScanFinished is raised when the background scan is finished. - /// The background scan starts automatically when wifi is activated. The callback will be invoked periodically. + /// The background scan starts automatically when Wi-Fi is activated. The callback will be invoked periodically. /// /// 3 /// http://tizen.org/privilege/network.get @@ -189,17 +189,17 @@ namespace Tizen.Network.WiFi } /// - /// Gets the WiFi safe handle. + /// Gets the Wi-Fi safe handle. /// /// 3 - /// The instance of SafeWiFiManagerHandle + /// The instance of the SafeWiFiManagerHandle. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. /// Thrown when the system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. [EditorBrowsable(EditorBrowsableState.Never)] public static SafeWiFiManagerHandle GetWiFiHandle() { @@ -210,63 +210,63 @@ namespace Tizen.Network.WiFi /// Gets the result of the scan. /// /// 3 - /// A list of WiFiAP objects. + /// A list of the WiFiAP objects. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public IEnumerable GetFoundAPs() { return WiFiManagerImpl.Instance.GetFoundAPs(); } /// - /// Gets the result of specific AP scan. + /// Gets the result of a specific AP scan. /// /// 3 - /// A list contains the WiFiAP objects. + /// A list containing the WiFiAP objects. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public IEnumerable GetFoundSpecificAPs() { return WiFiManagerImpl.Instance.GetFoundSpecificAPs(); } /// - /// Gets the list of wifi configurations. + /// Gets the list of Wi-Fi configurations. /// /// 3 - /// A list contains the WiFiConfiguration objects. + /// A list containing the WiFiConfiguration objects. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.profile - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. /// Thrown when system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public IEnumerable GetWiFiConfigurations() { return WiFiManagerImpl.Instance.GetWiFiConfigurations(); } /// - /// Saves Wi-Fi configuration of access point. + /// Saves the Wi-Fi configuration of the access point. /// /// 3 - /// The configuration to be stored + /// The configuration to be stored. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.profile - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. /// Thrown when WiFiConfiguration is passed as null. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public void SaveWiFiConfiguration(WiFiConfiguration configuration) { WiFiManagerImpl.Instance.SaveWiFiNetworkConfiguration(configuration); @@ -276,100 +276,100 @@ namespace Tizen.Network.WiFi /// Gets the object of the connected WiFiAP. /// /// 3 - /// The connected wifi access point(AP) information. + /// The connected Wi-Fi access point (AP) information. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. /// Thrown when system is out of memory. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public WiFiAP GetConnectedAP() { return WiFiManagerImpl.Instance.GetConnectedAP(); } /// - /// Activates Wi-Fi asynchronously. + /// Activates the Wi-Fi asynchronously. /// /// 3 - /// A task indicating whether the Activate method is done or not. + /// A task indicating whether the activate method is done or not. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public Task ActivateAsync() { return WiFiManagerImpl.Instance.ActivateAsync(); } /// - /// Activates Wi-Fi asynchronously and displays Wi-Fi picker (popup) when Wi-Fi is not automatically connected. + /// Activates the Wi-Fi asynchronously and displays the Wi-Fi picker (popup) when the Wi-Fi is not automatically connected. /// /// 3 - /// A task indicating whether the ActivateWithPicker method is done or not. + /// A task indicating whether the ActivateWithPicker method is done or not. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public Task ActivateWithPickerAsync() { return WiFiManagerImpl.Instance.ActivateWithWiFiPickerTestedAsync(); } /// - /// Deactivates Wi-Fi asynchronously. + /// Deactivates the Wi-Fi asynchronously. /// /// 3 - /// A task indicating whether the Deactivate method is done or not. + /// A task indicating whether the deactivate method is done or not. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public Task DeactivateAsync() { return WiFiManagerImpl.Instance.DeactivateAsync(); } /// - /// Starts scan asynchronously. + /// Starts the scan asynchronously. /// /// 3 - /// A task indicating whether the Scan method is done or not. + /// A task indicating whether the scan method is done or not. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public Task ScanAsync() { return WiFiManagerImpl.Instance.ScanAsync(); } /// - /// Starts specific access point scan, asynchronously. + /// Starts a specific access point scan asynchronously. /// /// 3 - /// A task indicating whether the ScanSpecificAP method is done or not. - /// The essid of hidden ap + /// A task indicating whether the ScanSpecificAP method is done or not. + /// The ESSID of the hidden AP. /// http://tizen.org/feature/network.wifi /// http://tizen.org/privilege/network.set /// http://tizen.org/privilege/network.get - /// Thrown when WiFi is not supported. - /// Thrown when permission is denied. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when the method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the permission is denied. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. static public Task ScanSpecificAPAsync(string essid) { return WiFiManagerImpl.Instance.ScanSpecificAPAsync(essid); diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiNetwork.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiNetwork.cs index e192fea..c57d807 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiNetwork.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiNetwork.cs @@ -34,10 +34,10 @@ namespace Tizen.Network.WiFi private string _essid; /// - /// The Extended Service Set Identifier(ESSID). + /// The Extended Service Set Identifier (ESSID). /// /// 3 - /// Essid of the WiFi. + /// ESSID of the Wi-Fi. public string Essid { get @@ -61,10 +61,10 @@ namespace Tizen.Network.WiFi } /// - /// The Basic Service Set Identifier(BSSID). + /// The Basic Service Set Identifier (BSSID). /// /// 3 - /// Bssid of the WiFi. + /// BSSID of the Wi-Fi. public string Bssid { get @@ -81,7 +81,7 @@ namespace Tizen.Network.WiFi } /// - /// The address informaiton for IPv4. + /// The address information for IPv4. /// /// 3 /// IP address information for IPv4 type. @@ -110,10 +110,10 @@ namespace Tizen.Network.WiFi /// The proxy address. /// /// 3 - /// Represents proxy address of WiFi. - /// Thrown while setting this property when WiFi is not supported. + /// Represents the proxy address of the Wi-Fi. + /// Thrown while setting this property when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public string ProxyAddress { get @@ -139,13 +139,13 @@ namespace Tizen.Network.WiFi } /// - /// The proxy type(IPv6). + /// The proxy type (IPv6). /// /// 3 - /// Represents proxy type of WiFi. - /// Thrown while setting this property when WiFi is not supported. + /// Represents the proxy type of the Wi-Fi. + /// Thrown while setting this property when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public WiFiProxyType ProxyType { get @@ -170,7 +170,7 @@ namespace Tizen.Network.WiFi } /// - /// The frequency band(MHz). + /// The frequency band (MHz). /// /// 3 /// Represents the frequency band value. @@ -189,10 +189,10 @@ namespace Tizen.Network.WiFi } /// - /// The Received signal strength indication(RSSI). + /// The received signal strength indicator (RSSI). /// /// 3 - /// Represents Rssi of WiFi(dbm). + /// Represents RSSI of Wi-Fi (dbm). public int Rssi { get @@ -211,7 +211,7 @@ namespace Tizen.Network.WiFi /// The max speed (Mbps). /// /// 3 - /// Represents max speed value. + /// Represents the max speed value. public int MaxSpeed { get @@ -227,10 +227,10 @@ namespace Tizen.Network.WiFi } /// - /// A property to check whether the access point is favorite or not. + /// A property to check whether the access point is a favorite or not. /// /// 3 - /// Boolean value to check if the access point is favorite or not. + /// Boolean value to check if the access point is a favorite or not. public bool IsFavorite { get @@ -246,10 +246,10 @@ namespace Tizen.Network.WiFi } /// - /// A property to check whether the access point is passpoint or not. + /// A property to check whether the access point is a passpoint or not. /// /// 3 - /// Boolean value to check if the access point is passpoint or not. + /// Boolean value to check if the access point is a passpoint or not. public bool IsPasspoint { get @@ -269,7 +269,7 @@ namespace Tizen.Network.WiFi /// The connection state. /// /// 3 - /// Represents the connection state of WiFi. + /// Represents the connection state of the Wi-Fi. public WiFiConnectionState ConnectionState { get @@ -285,14 +285,14 @@ namespace Tizen.Network.WiFi } /// - /// Gets the all IPv6 addresses of the access point + /// Gets all IPv6 addresses of the access point. /// /// 3 /// A list of IPv6 addresses of the access point. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when method failed due to invalid operation. + /// Thrown when the Wi-Fi is not supported. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public IEnumerable GetAllIPv6Addresses() { Log.Debug(Globals.LogTag, "GetAllIPv6Addresses"); diff --git a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiSecurity.cs b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiSecurity.cs index 9f3451c..d328504 100755 --- a/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiSecurity.cs +++ b/src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiSecurity.cs @@ -20,7 +20,7 @@ using Tizen.Network.Connection; namespace Tizen.Network.WiFi { /// - /// A class for managing the WiFi security information. + /// A class for managing the Wi-Fi security information. /// /// 3 public class WiFiSecurity @@ -32,10 +32,10 @@ namespace Tizen.Network.WiFi /// The type of Wi-Fi security. /// /// 3 - /// Represents the security type of WiFi. - /// Thrown while setting this property when WiFi is not supported. + /// Represents the security type of the Wi-Fi. + /// Thrown while setting this property when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public WiFiSecurityType SecurityType { get @@ -60,13 +60,13 @@ namespace Tizen.Network.WiFi } /// - /// The type of Wi-Fi encryption + /// The type of Wi-Fi encryption. /// /// 3 - /// Represents the encryption type of WiFi. - /// Thrown while setting this property when WiFi is not supported. + /// Represents the encryption type of the Wi-Fi. + /// Thrown while setting this property when Wi-Fi is not supported. /// Thrown while setting this property due to an invalid parameter. - /// Thrown while setting this value due to invalid operation. + /// Thrown while setting this value due to an invalid operation. public WiFiEncryptionType EncryptionType { get @@ -91,10 +91,10 @@ namespace Tizen.Network.WiFi } /// - /// The EAP information + /// The EAP information. /// /// 3 - /// Eap information of WiFi. + /// EAP information of the Wi-Fi. public WiFiEap EapInformation { get @@ -107,7 +107,7 @@ namespace Tizen.Network.WiFi /// A property to check whether the passphrase is required or not. /// /// 3 - /// Boolean value to check if passphrase is required or not. + /// Boolean value to check if the passphrase is required or not. public bool IsPassphraseRequired { get @@ -123,10 +123,10 @@ namespace Tizen.Network.WiFi } /// - /// A property to check whether the Wi-Fi Protected Setup(WPS) is supported or not. + /// A property to check whether Wi-Fi Protected Setup (WPS) is supported. /// /// 3 - /// Boolean value to check if wps is supported or not. + /// Boolean value to check if WPS is supported. public bool IsWpsSupported { get @@ -153,10 +153,10 @@ namespace Tizen.Network.WiFi /// 3 /// The passphrase of the access point. /// http://tizen.org/feature/network.wifi - /// Thrown when WiFi is not supported. - /// Thrown when passphrase is passed as null. - /// Thrown when method is failed due to an invalid parameter. - /// Thrown when method failed due to invalid operation. + /// Thrown when Wi-Fi is not supported. + /// Thrown when the passphrase is passed as null. + /// Thrown when the method failed due to an invalid parameter. + /// Thrown when the method failed due to an invalid operation. public void SetPassphrase(string passphrase) { if (passphrase == null) -- 2.7.4