RMobileSmsStore Class Reference

class RMobileSmsStore : public RMobilePhoneStore

Provides client access to SMS storage functionality provided by TSY.

Public Member Functions
RMobileSmsStore ()
IMPORT_C void Close ()
IMPORT_C TInt Open ( RMobileSmsMessaging &, const TDesC &)
Protected Member Functions
IMPORT_C void ConstructL ()
Private Member Functions
RMobileSmsStore (const RMobileSmsStore &)
Inherited Functions
RMobilePhoneStore::BaseConstruct(CMobilePhoneStorePtrHolder *)
RMobilePhoneStore::Delete(TRequestStatus &,TInt)const
RMobilePhoneStore::DeleteAll(TRequestStatus &)const
RMobilePhoneStore::Destruct()
RMobilePhoneStore::GetInfo(TRequestStatus &,TDes8 &)const
RMobilePhoneStore::NotifyStoreEvent(TRequestStatus &,TUint32 &,TInt &)const
RMobilePhoneStore::RMobilePhoneStore()
RMobilePhoneStore::Read(TRequestStatus &,TDes8 &)const
RMobilePhoneStore::Write(TRequestStatus &,TDes8 &)const
RSubSessionBase::CloseSubSession(TInt)
RSubSessionBase::CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt)
RSubSessionBase::CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
RSubSessionBase::RSubSessionBase()
RSubSessionBase::Send(TInt)const
RSubSessionBase::Send(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt)const
RSubSessionBase::SendReceive(TInt,TRequestStatus &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSubSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSubSessionBase::Session()const
RSubSessionBase::SubSessionHandle()const
RTelSubSessionBase::Blank(const TInt,TReqPriorityType)const
RTelSubSessionBase::Blank(const TInt,TRequestStatus &,TReqPriorityType)const
RTelSubSessionBase::CancelAsyncRequest(TInt)const
RTelSubSessionBase::CancelReq(const TInt,const TInt)const
RTelSubSessionBase::CancelSubSession()const
RTelSubSessionBase::Get(const TInt,TDes16 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes8 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes8 &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes16 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes8 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes8 &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::Get(const TInt,TRequestStatus &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::RTelSubSessionBase()
RTelSubSessionBase::ResetSessionHandle()
RTelSubSessionBase::SessionHandle()const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC16 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC8 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,TRequestStatus &,const TDesC8 &,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const RFile &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC16 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC8 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::Set(const TInt,const TDesC8 &,const TDesC8 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,TDes8 &,const TDesC16 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,const TDesC16 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,const TDesC8 &,TDes16 &,TReqPriorityType)const
RTelSubSessionBase::SetAndGet(const TInt,TRequestStatus &,const TDesC8 &,TDes8 &,TReqPriorityType)const
RTelSubSessionBase::SetSessionHandle(RSessionBase &)
RTelSubSessionBase::SubSessionHandle()
Public Member Enumerations
enum TMobileSmsEntryExtensionId { KETelMobileSmsEntryV1  = KETelExtMultimodeV1, KETelMobileGsmSmsEntryV1 , KETelMobileCdmaSmsEntryV1 }
enum TMobileSmsStoreCaps {
KCapsUnreadMessages  = 0x00000001, KCapsReadMessages  = 0x00000002, KCapsSentMessages  = 0x00000004, KCapsUnsentMessages  = 0x00000008, KCapsGsmMessages  = 0x00000010, KCapsCdmaMessages  = 0x00000020
}
enum TMobileSmsStoreStatus {
EStoredMessageUnknownStatus , EStoredMessageUnread , EStoredMessageRead , EStoredMessageUnsent , EStoredMessageSent , EStoredMessageDelivered
}
Inherited Enumerations
RMobilePhoneStore:TMobilePhoneStoreCaps
RMobilePhoneStore:TMobilePhoneStoreInfoExtId
RMobilePhoneStore:TMobilePhoneStoreType
RMobilePhoneStore:TMobileStoreEvent
RTelSubSessionBase:TReqPriorityType
Public Member Type Definitions
typedef TPckg < TMobileCdmaSmsEntryV1 > TMobileCdmaSmsEntryV1Pckg
typedef TPckg < TMobileGsmSmsEntryV1 > TMobileGsmSmsEntryV1Pckg
typedef TPckg < TMobileSmsEntryV1 > TMobileSmsEntryV1Pckg
Inherited Attributes
RMobilePhoneStore::iStorePtrHolder
RTelSubSessionBase::iPtrHolder

Constructor & Destructor Documentation

RMobileSmsStore()

IMPORT_C RMobileSmsStore ( )

Constructor

RMobileSmsStore(const RMobileSmsStore &)

RMobileSmsStore ( const RMobileSmsStore & ) [private]

Parameters

const RMobileSmsStore &

Member Functions Documentation

Close()

IMPORT_C void Close ( )
This member function closes a message store sub-session.
capability
None

ConstructL()

IMPORT_C void ConstructL ( ) [protected]
Constructor.
capability
None

Open(RMobileSmsMessaging &, const TDesC &)

IMPORT_C TInt Open ( RMobileSmsMessaging & aMessaging,
const TDesC & aStoreName
)

This member function opens the message store.

Parameters

RMobileSmsMessaging & aMessaging The Sms Messaging sub-session to use.
const TDesC & aStoreName Name of the store to open, the names of the stores can be retrieved with RMobileSmsMessaging::GetMessageStoreInfo(). Must be one of KETelMeSmsStore, KETelIccSmsStore, KETelCombinedSmsStore

Member Enumerations Documentation

Enum TMobileSmsEntryExtensionId

Used by TSY to distinguish which SMS entry class is used by client.

Enumerators

KETelMobileSmsEntryV1 = KETelExtMultimodeV1

Type is unknown.

KETelMobileGsmSmsEntryV1

The iExtensionId contents indicate that the packaged class is a TMobileGsmSmsEntryV1 .

Also used to indicate that GSM SMS entries will be retrieved by CRetrieveMobilePhoneSmsList .

KETelMobileCdmaSmsEntryV1

The iExtensionId contents indicate that the packaged class is a TMobileCdmaSmsEntryV1 .

Also used to indicate that CDMA SMS entries will be retrieved by CRetrieveMobilePhoneSmsList . 9.5

Enum TMobileSmsStoreCaps

Defines the SMS Store Capabilities.

Modes: Common

Enumerators

KCapsUnreadMessages = 0x00000001

The store contains unread, incoming SMS entries.

Modes: Common

KCapsReadMessages = 0x00000002

The store contains read, incoming SMS entries.

Modes: Common

KCapsSentMessages = 0x00000004

The store contains sent SMS entries.

Modes: Common

KCapsUnsentMessages = 0x00000008

The store contains un sent SMS entries.

KCapsGsmMessages = 0x00000010

The store contains GSM SMS message entries so TMobileGsmSmsEntryV1 class should be used.

Modes: GSM/WCDMA

KCapsCdmaMessages = 0x00000020

The store contains CDMA SMS message entries so TMobileCdmaSmsEntryV1 class should be used.

Modes: CDMA 9.5

Enum TMobileSmsStoreStatus

Defines contents of a fixed-size, stored SMS entry.

Modes: Common

Enumerators

EStoredMessageUnknownStatus

The status of the SMS is unknown.

EStoredMessageUnread

The SMS is stored phone-side. It is an incoming message that has not been read yet.

EStoredMessageRead

The SMS is stored phone-side. It is an incoming message that has already been read.

EStoredMessageUnsent

The SMS is stored phone-side. It is an outgoing message that has not been sent yet.

EStoredMessageSent

The SMS is stored phone-side. It is an outgoing message that has already been sent but a delivery/status report has either not been received yet or was not requested in the first place.

EStoredMessageDelivered

The SMS is stored phone-side. It is an outgoing message that has already been sent and a delivery/status report has been received

Member Type Definitions Documentation

Typedef TMobileCdmaSmsEntryV1Pckg

typedef TPckg < TMobileCdmaSmsEntryV1 > TMobileCdmaSmsEntryV1Pckg

A typedef'd packaged TMobileCdmaSmsEntryV1 for passing through a generic API member function. 9.5

Typedef TMobileGsmSmsEntryV1Pckg

typedef TPckg < TMobileGsmSmsEntryV1 > TMobileGsmSmsEntryV1Pckg

A typedef'd packaged TMobileGsmSmsEntryV1 for passing through a generic API member function.

Typedef TMobileSmsEntryV1Pckg

typedef TPckg < TMobileSmsEntryV1 > TMobileSmsEntryV1Pckg

A typedef'd packaged TMobileSmsEntryV1 for passing through a generic API member function.