Telematics SDK - Interface Specification
v1.33.66
|
Data Structures | |
class | telux::tel::PhoneFactory |
PhoneFactory is the central factory to create all Telephony SDK Classes and services. More... | |
This section contains APIs related to PhoneFactory.
class telux::tel::PhoneFactory |
PhoneFactory is the central factory to create all Telephony SDK Classes and services.
Public Member Functions | |
std::shared_ptr< IPhoneManager > | getPhoneManager () |
std::shared_ptr< ISmsManager > | getSmsManager (int phoneId=DEFAULT_PHONE_ID, telux::common::InitResponseCb callback=nullptr) |
std::shared_ptr< ICallManager > | getCallManager () |
std::shared_ptr< ICardManager > | getCardManager () |
std::shared_ptr< ISapCardManager > | getSapCardManager (int slotId=DEFAULT_SLOT_ID) |
std::shared_ptr< ISubscriptionManager > | getSubscriptionManager () |
std::shared_ptr< IServingSystemManager > | getServingSystemManager (int slotId=DEFAULT_SLOT_ID) |
std::shared_ptr< INetworkSelectionManager > | getNetworkSelectionManager (int slotId=DEFAULT_SLOT_ID) |
std::shared_ptr< IRemoteSimManager > | getRemoteSimManager (int slotId=DEFAULT_SLOT_ID) |
std::shared_ptr< IMultiSimManager > | getMultiSimManager () |
std::shared_ptr< ISimProfileManager > | getSimProfileManager () |
std::shared_ptr< ICellBroadcastManager > | getCellBroadcastManager (SlotId slotId=DEFAULT_SLOT_ID) |
std::shared_ptr< IEcallManager > | getEcallManager (telux::common::InitResponseCb callback=nullptr) |
Static Public Member Functions | |
static PhoneFactory & | getInstance () |
|
static |
Get Phone Factory instance.
std::shared_ptr<IPhoneManager> telux::tel::PhoneFactory::getPhoneManager | ( | ) |
Get Phone Manager instance. Phone Manager is the main entry point into the telephony subsystem.
std::shared_ptr<ISmsManager> telux::tel::PhoneFactory::getSmsManager | ( | int | phoneId = DEFAULT_PHONE_ID , |
telux::common::InitResponseCb | callback = nullptr |
||
) |
Get SMS Manager instance for Phone ID. SMSManager used to send and receive SMS messages.
[in] | phoneId | Unique identifier for the phone |
[in] | callback | Optional callback pointer to get response of SMS Manager initialization. It will be invoked when initialization is either succeeded or failed. In case of failure response, the provided SMS Manager object will no more be a valid object. |
std::shared_ptr<ICallManager> telux::tel::PhoneFactory::getCallManager | ( | ) |
Get Call Manager instance to determine state of active calls and perform other functions like dial, conference, swap call.
std::shared_ptr<ICardManager> telux::tel::PhoneFactory::getCardManager | ( | ) |
Get Card Manager instance to handle services such as transmitting APDU, SIM IO and more.
std::shared_ptr<ISapCardManager> telux::tel::PhoneFactory::getSapCardManager | ( | int | slotId = DEFAULT_SLOT_ID | ) |
Get Sap Card Manager instance associated with the provided slot id. This object will handle services in SAP mode such as APDU, SIM Power On/Off and SIM reset.
[in] | slotId | Unique identifier for the SIM slot |
std::shared_ptr<ISubscriptionManager> telux::tel::PhoneFactory::getSubscriptionManager | ( | ) |
Get Subscription Manager instance to get device subscription details
std::shared_ptr<IServingSystemManager> telux::tel::PhoneFactory::getServingSystemManager | ( | int | slotId = DEFAULT_SLOT_ID | ) |
Get Serving System Manager instance to get and set preferred network type.
[in] | slotId | Unique identifier for the SIM slot |
std::shared_ptr<INetworkSelectionManager> telux::tel::PhoneFactory::getNetworkSelectionManager | ( | int | slotId = DEFAULT_SLOT_ID | ) |
Get Network Selection Manager instance to get and set selection mode, get and set preferred networks and scan available networks.
[in] | slotId | Unique identifier for the SIM slot |
std::shared_ptr<IRemoteSimManager> telux::tel::PhoneFactory::getRemoteSimManager | ( | int | slotId = DEFAULT_SLOT_ID | ) |
Get Remote SIM Manager instance to handle services like exchanging APDU, SIM Power On/Off, etc.
[in] | slotId | Unique identifier for the SIM slot |
std::shared_ptr<IMultiSimManager> telux::tel::PhoneFactory::getMultiSimManager | ( | ) |
Get Multi SIM Manager instance to handle operations like high capabilty switch.
std::shared_ptr<ISimProfileManager> telux::tel::PhoneFactory::getSimProfileManager | ( | ) |
Get SimProfileManager. SimProfileManager is a primary interface for remote eUICC(eSIM) provisioning and local profile assistance.
std::shared_ptr<ICellBroadcastManager> telux::tel::PhoneFactory::getCellBroadcastManager | ( | SlotId | slotId = DEFAULT_SLOT_ID | ) |
std::shared_ptr<IEcallManager> telux::tel::PhoneFactory::getEcallManager | ( | telux::common::InitResponseCb | callback = nullptr | ) |