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 * @if VISPARTNER-MANUFACTURER
19 * @file FTelITelephonyNetworkSettingListener.h
20 * @brief This is the header file for the %ITelephonyNetworkSettingListener interface.
21 * @visibility partner-manufacturer
23 * This header file contains the declarations of the %ITelephonyNetworkSettingListener interface.
27 #ifndef _FTEL_ITELEPHONY_NETWORK_SETTING_LISTENER_H_
28 #define _FTEL_ITELEPHONY_NETWORK_SETTING_LISTENER_H_
30 #include <FBaseRtIEventListener.h>
32 namespace Tizen { namespace Base { namespace Collection
35 } } } // Tizen::Base::Collection
37 namespace Tizen { namespace Telephony
40 * @interface ITelephonyNetworkSettingListener
41 * @brief This interface provides result of the network settings.
45 * The %ITelephonyNetworkSettingListener interface provides result of the network search and response by selection mode.
47 class _OSP_EXPORT_ ITelephonyNetworkSettingListener
48 : virtual public Tizen::Base::Runtime::IEventListener
52 * 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.
56 virtual ~ITelephonyNetworkSettingListener(void) {}
59 * Called when a response of the network selection mode request is received.
63 * @param[in] isManual @c true if the network selection is in manual mode, @n
65 * @param[in] r An error code
66 * @exception E_SUCCESS The method is successful.
67 * @exception E_NOT_RESPONDING The server on the telephony network is not responding.
68 * @exception E_SYSTEM The method cannot proceed due to a severe telephony modem error.
69 * @see NetworkManager::GetNetworkSelectionMode()
71 virtual void OnTelephonyNetworkSelectionModeReceived(bool isManual, result r) = 0;
74 * Called when the network search process is completed.
78 * @param[in] pNetworkInfoList The list of NetworkInfo information representing the network discovered by the search
79 * @param[in] r An error code
80 * @exception E_SUCCESS The method is successful.
81 * @exception E_NOT_RESPONDING The server on the telephony network is not responding.
82 * @exception E_SYSTEM The method cannot proceed due to a severe telephony modem error.
83 * @see NetworkManager::SearchNetwork()
85 virtual void OnTelephonyNetworkSearchCompletedN(Tizen::Base::Collection::IList* pNetworkInfoList, result r) = 0;
88 * Called when a response of the network selection request is completed.
92 * @param[in] r An error code
93 * @exception E_SUCCESS The method is successful.
94 * @exception E_NOT_RESPONDING The server on the telephony network is not responding.
95 * @exception E_SYSTEM The method cannot proceed due to a severe telephony modem error.
96 * @see NetworkManager::SelectNetwork()
98 virtual void OnTelephonyNetworkSelectionCompleted(result r) = 0;
102 // This method is for internal use only. Using this method can cause behavioral, security-related,
103 // and consistency-related issues in the application.
105 // This method is reserved and may change its name at any time without prior notice.
109 virtual void ITelephonyNetworkSettingListener_Reserved1(void) {}
112 // This method is for internal use only. Using this method can cause behavioral, security-related,
113 // and consistency-related issues in the application.
115 // This method is reserved and may change its name at any time without prior notice.
119 virtual void ITelephonyNetworkSettingListener_Reserved2(void) {}
122 // This method is for internal use only. Using this method can cause behavioral, security-related,
123 // and consistency-related issues in the application.
125 // This method is reserved and may change its name at any time without prior notice.
129 virtual void ITelephonyNetworkSettingListener_Reserved3(void) {}
130 }; // ITelephonyNetworkSettingListener
132 }} // Tizen::Telephony
133 #endif // _FTEL_ITELEPHONY_NETWORK_SETTING_LISTENER_H_