CSmsNumber Class Reference

class CSmsNumber : public CMsvRecipient

Recipient information for an SMS message.

A SMS-SUBMIT message may have several recipients

Inherits from

Constructor & Destructor Documentation

CSmsNumber()

CSmsNumber()[private]

~CSmsNumber()

IMPORT_C~CSmsNumber()[virtual]

Member Functions Documentation

AckStatus(TSmsAckType)

IMPORT_C TSmsAckStatusAckStatus(TSmsAckTypeaAckType)const

Parameters

TSmsAckType aAckType

Address()

IMPORT_C TPtrCAddress()const

CopyL(const CSmsNumber &)

IMPORT_C CSmsNumber &CopyL(const CSmsNumber &aSmsNumber)

Parameters

const CSmsNumber & aSmsNumber

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]

Parameters

RReadStream & aStream

LimitStringSize(const TPtrC &, TInt)

TPtrC LimitStringSize(const TPtrC &aString,
TIntaMaxLength
)const [private]

Parameters

const TPtrC & aString
TInt aMaxLength

LogId()

TLogId LogId()const [inline]

Gets the ID by which to identify the SMS-DELIVER message PDU for this recipient.

Name()

IMPORT_C TPtrCName()const

NewL()

IMPORT_C CSmsNumber *NewL()[static]

NewL(const CSmsNumber &)

IMPORT_C CSmsNumber *NewL(const CSmsNumber &aSmsNumber)[static]

Parameters

const CSmsNumber & aSmsNumber

SetAckStatus(TSmsAckType, TSmsAckStatus)

IMPORT_C voidSetAckStatus(TSmsAckTypeaAckType,
TSmsAckStatusaAckStatus
)

Parameters

TSmsAckType aAckType
TSmsAckStatus aAckStatus

SetAddressL(const TDesC &)

IMPORT_C voidSetAddressL(const TDesC &aAddress)

Parameters

const TDesC & aAddress

SetEmailAddressL(const TDesC &, CSmsEmailFields *, const TDesC &)

voidSetEmailAddressL(const TDesC &aAddress,
CSmsEmailFields *aEmailFields,
const TDesC &aAlias
)

Parameters

const TDesC & aAddress
CSmsEmailFields * aEmailFields
const TDesC & aAlias

SetLogId(TLogId)

voidSetLogId(TLogIdaLogId)[inline]

Sets the ID by which to identify the SMS-DELIVER message PDU for this recipient.

Parameters

TLogId aLogIdThe log ID for this recipient.

SetNameL(const TDesC &)

IMPORT_C voidSetNameL(const TDesC &aName)

Parameters

const TDesC & aName

Member Enumerations Documentation

Enum TSmsAckStatus

Defines the status of an acknowledgement for a recipient.

Enumerators

ENoAckRequested = 0

An acknowledgement for this recipient has not been requested.

EPendingAck

The delivery status for this recipient has been requested, but the status report has not yet been received.

EAckSuccessful

A successful acknowledgement for this recipient has been received.

EAckError

A failed acknowledgement for this recipient has been received.

Member Data Documentation

TSmsAckStatus iDeliveryStatus

TSmsAckStatus iDeliveryStatus[private]

TLogId iLogId

TLogId iLogId[private]

HBufC * iName

HBufC *iName[private]

HBufC * iNumber

HBufC *iNumber[private]