Telematics SDK - Interface Specification
v1.21.0
|
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) |
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) |
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 | ) |
Get SMS Manager instance for Phone ID. SMSManager used to send and receive SMS messages.
[in] | phoneId | Unique identifier for the phone |
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 |