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 FTelITelephonyNetworkSettingListener.h
19 * @brief This is the header file for the %ITelephonyNetworkSettingListener interface.
21 * This header file contains the declarations of the %ITelephonyNetworkSettingListener interface.
23 #ifndef _FTEL_ITELEPHONY_NETWORK_SETTING_LISTENER_H_
24 #define _FTEL_ITELEPHONY_NETWORK_SETTING_LISTENER_H_
26 #include <FBaseRtIEventListener.h>
28 namespace Tizen { namespace Base { namespace Collection
31 } } } // Tizen::Base::Collection
33 namespace Tizen { namespace Telephony
36 * @interface ITelephonyNetworkSettingListener
37 * @brief This interface provides result of the network settings.
41 * The %ITelephonyNetworkSettingListener interface provides result of the network search and response by selection mode.
43 class _OSP_EXPORT_ ITelephonyNetworkSettingListener
44 : virtual public Tizen::Base::Runtime::IEventListener
48 * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes are called when the destructor of this interface is called.
52 virtual ~ITelephonyNetworkSettingListener(void) {}
55 * Called when a response of the network selection mode request is received.
59 * @param[in] isManual @c true if the network selection is in manual mode, @n
61 * @param[in] r An error code
62 * @exception E_SUCCESS The method is successful.
63 * @exception E_NOT_RESPONDING The server on the telephony network is not responding.
64 * @exception E_SYSTEM The method cannot proceed due to a severe telephony modem error.
65 * @see NetworkManager::GetNetworkSelectionMode()
67 virtual void OnTelephonyNetworkSelectionModeReceived(bool isManual, result r) = 0;
70 * Called when the network search process is completed.
74 * @param[in] pNetworkInfoList The list of NetworkInfo information representing the network discovered by the search
75 * @param[in] r An error code
76 * @exception E_SUCCESS The method is successful.
77 * @exception E_NOT_RESPONDING The server on the telephony network is not responding.
78 * @exception E_SYSTEM The method cannot proceed due to a severe telephony modem error.
79 * @see NetworkManager::SearchNetwork()
81 virtual void OnTelephonyNetworkSearchCompletedN(Tizen::Base::Collection::IList* pNetworkInfoList, result r) = 0;
84 * Called when a response of the network selection request is completed.
88 * @param[in] r An error code
89 * @exception E_SUCCESS The method is successful.
90 * @exception E_NOT_RESPONDING The server on the telephony network is not responding.
91 * @exception E_SYSTEM The method cannot proceed due to a severe telephony modem error.
92 * @see NetworkManager::SelectNetwork()
94 virtual void OnTelephonyNetworkSelectionCompleted(result r) = 0;
98 // This method is for internal use only. Using this method can cause behavioral, security-related,
99 // and consistency-related issues in the application.
101 // This method is reserved and may change its name at any time without prior notice.
105 virtual void ITelephonyNetworkSettingListener_Reserved1(void) {}
108 // This method is for internal use only. Using this method can cause behavioral, security-related,
109 // and consistency-related issues in the application.
111 // This method is reserved and may change its name at any time without prior notice.
115 virtual void ITelephonyNetworkSettingListener_Reserved2(void) {}
118 // This method is for internal use only. Using this method can cause behavioral, security-related,
119 // and consistency-related issues in the application.
121 // This method is reserved and may change its name at any time without prior notice.
125 virtual void ITelephonyNetworkSettingListener_Reserved3(void) {}
126 }; // ITelephonyNetworkSettingListener
128 }} // Tizen::Telephony
129 #endif // _FTEL_ITELEPHONY_NETWORK_SETTING_LISTENER_H_