#include <smsuaddr.h>
Link against: smsu.lib
class TSmsAddr : public TSockAddr, public TSockAddr |
Public Member Enumerations | |
---|---|
enum | anonymous { EMaxTextMatchLength } |
Public Member Functions | |
---|---|
TSmsAddr() | |
IMPORT_C TInt | IdentifierMatch() |
IMPORT_C void | SetIdentifierMatch(TInt) |
IMPORT_C void | SetSmsAddrFamily(TSmsAddrFamily) |
IMPORT_C void | SetTextMatch(const TDesC8 &) |
IMPORT_C TSmsAddrFamily | SmsAddrFamily() |
IMPORT_C TPtrC8 | TextMatch() |
IMPORT_C TBool | operator==(const TSmsAddr &) |
Inherited Attributes | |
---|---|
TBuf8< KMaxSockAddrSize >::iBuf | |
TDes8::__DECLARE_TEST | |
TDes8::iMaxLength |
SMS address for a socket.
Enumerator | Value | Description |
---|---|---|
EMaxTextMatchLength | 24 |
IMPORT_C TInt | IdentifierMatch | ( | ) | const |
Gets the identifier match.
Capability | |
---|---|
None |
IMPORT_C void | SetIdentifierMatch | ( | TInt | aIdentifier | ) |
Sets the identifier match.
Parameters | |
---|---|
aIdentifier | Identifier match |
Capability | |
---|---|
None |
IMPORT_C void | SetSmsAddrFamily | ( | TSmsAddrFamily | aFamily | ) |
Sets the SMS address family.
Parameters | |
---|---|
aFamily | SMS address family |
Capability | |
---|---|
None |
IMPORT_C void | SetTextMatch | ( | const TDesC8 & | aText | ) |
Sets the match text. The matching is case-insensitive comparison done against the leading text in the message. Wild card matching is not supported.
Parameters | |
---|---|
aText | The match text |
Capability | |
---|---|
None | |
None |
IMPORT_C TSmsAddrFamily | SmsAddrFamily | ( | ) | const |
Gets the SMS address family.
Capability | |
---|---|
None |