#include <MSUDeviceInfo.h>
Public Member Functions | |
MSUDeviceInfo (const char *phoneNum, const char *passwd, const char *plat) | |
void | setPhoneNumber (const char *v) |
void | setPassword (const char *v) |
virtual void | completeOptionalFields () |
Initialize the other optional fields. | |
const StringBuffer & | getPhoneNumber () const |
const StringBuffer & | getPassword () const |
const StringBuffer & | getPlatform () const |
const StringBuffer & | getEmailAddress () |
void | setEmailAddress (const char *v) |
const StringBuffer & | getTimezone () const |
void | setTimezone (const char *v) |
const StringBuffer & | getManufacturer () const |
void | setManufacturer (const char *v) |
const StringBuffer & | getModel () const |
void | setModel (const char *v) |
const StringBuffer & | getCarrier () const |
void | setCarrier (const char *v) |
const StringBuffer & | getCountryCodeA2 () const |
void | setCountryCodeA2 (const char *v) |
Protected Member Functions | |
void | setPlatform (const char *v) |
Private Attributes | |
StringBuffer | phoneNumber |
StringBuffer | password |
StringBuffer | platform |
StringBuffer | emailAddress |
StringBuffer | timezone |
StringBuffer | manufacturer |
StringBuffer | model |
StringBuffer | carrier |
StringBuffer | countryCodeA2 |
Only phoneNumber, password and platform are mandatory. Other fields can be filled by the virtual completeOptionalFields() method.
virtual void MSUDeviceInfo::completeOptionalFields | ( | ) | [inline, virtual] |
Initialize the other optional fields.
It may be implemented by every platform