MXIMPDataSubscriptionState Class Reference

class MXIMPDataSubscriptionState : public MXIMPBase

Interface for data subscription state object.

Data subscription state object contains information about certain data item subscription state.

Protocol adaptation can use this object type to check and update item subscription state.

To client direction XIMP Framework uses this object type to inform client about item current status in data change events.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MXIMPDataSubscriptionState()

~MXIMPDataSubscriptionState()[inline, virtual]

Public destructor. Objects can be deleted through this interface.

Member Functions Documentation

DataState()

TDataState DataState()const [pure virtual]

Returns data state.

SetDataStateL(TDataState)

voidSetDataStateL(TDataStateaDataState)[pure virtual]

Sets data state value.

leave
KErrNoMemory if failed to allocate memory.

Parameters

TDataState aDataStateNew data state value.

SetSubscriptionStateL(TSubscriptionState)

voidSetSubscriptionStateL(TSubscriptionStateaSubscriptionState)[pure virtual]

Sets data subscription state value.

leave
KErrNoMemory if failed to allocate memory.

Parameters

TSubscriptionState aSubscriptionStateNew data subscription state value.

SubscriptionState()

TSubscriptionState SubscriptionState()const [pure virtual]

Returns data subscription state.

Member Enumerations Documentation

Enum anonymous

Interface ID for the MXIMPDataSubscriptionState.

Enumerators

KInterfaceId = XIMP_IF_ID_DATA_SUBSCRIPTION_STATE

Enum TDataState

Data state enumeration.

Enumerators

EDataUnavailable

Data content isn't available.

EDataAvailable

Data content is available.

Enum TSubscriptionState

Data subscription state enumeration.

Enumerators

ESubscriptionInactive

Data item subscription isn't active.

ESubscriptionActive

Data item subscription is active.