open.movilforum.sms20.SMS20
classes CContactoSMS20 and SMS 2.0Source file(s): SMS20.h SMS20.cpp
The CContactoSMS20 provides a data type for storing the contact for the SMS 2.0 class.
The SMS 2.0 class provides the capability for keeping a IM session with the SMS 2.0 platform through an HTTP interface.
To use this service you must send an SMS with your password to "770". You will receive a confirmation of your password in another SMS message.
This API is available for all movistar subscribers in Spain.
CContactoSMS20 Methods
| CContactoSMS20 | Asing defaults values to a CContactoSMS20 |
| CContactoSMS20 | Asing the parmans to a CContactoSMS20 |
| SetUserID | Asing the User ID of a CContactoSMS20 |
| SetAlias | Asing the Alias of a CContactoSMS20 |
| SetPresence | Asing the Presence of a CContactoSMS20 |
| GetUserID | Get the User ID of a CContactoSMS20 |
| GetAlias | Get the Alias ID of a CContactoSMS20 |
| GetPresence | Get the Presence ID of a CContactoSMS20 |
SMS 2.0 Methods
| Login | Login in SMS 2.0 platform |
| Connect | Connect to SMS 2.0 platform |
| Polling | Polling request to SMS 2.0 platform |
| AddContact | Add a contact to your contact list |
| AuthorizeContact | Autorice a contact to add you to its contact list |
| DeleteContact | Delete a contact from your contact list |
| SendMessage | Send a message |
| Logout | Logout from SMS 2.0 platform |
| GetPresenceList | Get the presence list |
| GetSessionID | Get the Session ID from the actice session |
| GetTransID | Get the Transactio ID from the actice session |
| GetAlias | Get the Alias from the actice session |
Sample Code
| SMS 2.0 | Sample code to show how to use SMS 2.0 API |