2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FNetWifiWifiNetAccountInfo.h
19 * @brief This is the header file for the %WifiNetAccountInfo class.
21 * This header file contains the declarations of the %WifiNetAccountInfo class.
23 #ifndef _FNET_WIFI_WIFI_NET_ACCOUNT_INFO_H_
24 #define _FNET_WIFI_WIFI_NET_ACCOUNT_INFO_H_
26 #include <FBaseObject.h>
27 #include <FNetNetAccountInfo.h>
28 #include <FNetWifiWifiSecurityInfo.h>
30 namespace Tizen { namespace Net { namespace Wifi
32 class _WifiNetAccountInfoImpl;
33 class WifiSecurityInfo;
36 * @class WifiNetAccountInfo
37 * @brief This class provides the functionality to control the WLAN network accounts.
41 * The %WifiNetAccountInfo class provides the functionality to control the WLAN network accounts and the basic network accounts.
42 * This class inherits the NetAccountInfo class.
44 * For more information on the class features, see
45 * <a href="../org.tizen.native.appprogramming/html/guide/net/wi-fi_connectivity.htm">Wi-Fi Connectivity</a>.
48 class _OSP_EXPORT_ WifiNetAccountInfo
49 : public Tizen::Net::NetAccountInfo
53 * This is the destructor for this class.
58 virtual ~WifiNetAccountInfo(void);
61 * Gets the BSSID of this account.
65 * @return The BSS ID in the form '00-00-00-00-00-00'
66 * @remarks This operation is not yet supported.
68 Tizen::Base::String GetBssId(void) const;
71 * Gets the SSID of this account.
75 * @return The SSID of this account
77 Tizen::Base::String GetSsid(void) const;
80 * Gets the type of BSS of this account.
84 * @return The type of BSS of this account
86 WifiBssType GetBssType(void) const;
89 * Gets the security information of this account.
93 * @return The authentication and encryption type of this account
95 const WifiSecurityInfo* GetSecurityInfo(void) const;
98 * Gets the radio channel of this account. @n
99 * If this value is not set, the default value is WIFI_RADIO_CHANNEL_UNKNOWN.
103 * @return The radio channel of this account
104 * @remarks This operation is not yet supported.
106 WifiRadioChannel GetRadioChannel(void) const;
109 * Checks whether the specified instance of %WifiNetAccountInfo equals the current instance.
113 * @return @c true if the specified instance equals the current instance, @n
115 * @param[in] obj An instance of %WifiNetAccountInfo
116 * @remarks This method returns @c false if the specified object is not %WifiNetAccountInfo.
118 virtual bool Equals(const Tizen::Base::Object& obj) const;
121 * Gets the hash value of the current instance.
125 * @return The hash value of the current instance
127 virtual int GetHashCode(void) const;
131 // This default constructor is intentionally declared as private so that only the platform can create an instance.
133 WifiNetAccountInfo(void);
136 // The implementation of this copy constructor is intentionally blank to prohibit copying of objects.
138 WifiNetAccountInfo(const WifiNetAccountInfo& value);
141 // The implementation of this copy assignment operator is intentionally blank to prohibit copying of objects.
143 WifiNetAccountInfo& operator=(const WifiNetAccountInfo& rhs);
146 _WifiNetAccountInfoImpl* __pWifiNetAccountInfoImpl;
148 friend class _WifiNetAccountInfoImpl;
149 }; // WifiNetAccountInfo
151 } } } // Tizen::Net::Wifi
152 #endif // _FNET_WIFI_WIFI_NET_ACCOUNT_INFO_H_