Symbian
Symbian OS Library

FAQ-1104 How can I find out which MTMs are available for use on a device?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Messaging
Created: 07/28/2004 Modified: 07/28/2004
Number: FAQ-1104
Platform: Not Applicable

Question:
I want to send some data and need to know what transports are available. How can I find out which MTMs are available for use on a device?

Answer:
CSendAs provides the functionality you need. Calling the CSendAs::AvailableMtms() method returns an array of all the available MTM options in Symbian descriptor format. If you have specific capabilites you require of the MTMs, call CSendAs::AddMtmCapabilityL(...) first, passing in the . The array returned will only contain those MTMs which posses the required capability.

    You also have the option to let the end user decide. On UIQ there is a convenient which presents the user with the choice of suitable transports.