class MPresenceBlockListEvent : public MXIMPBase |
Event interface for presence block list content.
This interface is implemented by the XIMP Framework and event object is signalled to registered client observers through MXIMPContextObserver observer interface. This event notifies clients about changes in presence block list content.
Clients subscribe for this event with MPresenceAuthorization::SubscribePresenceBlockListL.
New subscribed data is received from protocol.
Data item data subscription status is updated by protocol adaptation.
When client unsubscribes the data item.
XIMP Framework generates initial data notification to client automatically after clients subscription, when the initial data comes available from protocol.
Public Member Functions | |
---|---|
const MPresenceBlockInfo & | CurrentBlock(TInt) |
TInt | CurrentBlocksCount() |
const MXIMPDataSubscriptionState & | DataSubscriptionState() |
const MPresenceBlockInfo & | DisappearedBlock(TInt) |
TInt | DisappearedBlocksCount() |
const MPresenceBlockInfo & | NewBlock(TInt) |
TInt | NewBlocksCount() |
const MPresenceBlockInfo & | UpdatedBlock(TInt) |
TInt | UpdatedBlocksCount() |
Protected Member Functions | |
---|---|
~MPresenceBlockListEvent() |
Inherited Functions | |
---|---|
MXIMPBase::GetInterface(TInt32,TIfGetOps) | |
MXIMPBase::GetInterface(TInt32,TIfGetOps)const | |
MXIMPBase::GetInterfaceId()const | |
MXIMPBase::~MXIMPBase() |
Inherited Enumerations | |
---|---|
MXIMPBase:@65 | |
MXIMPBase:TIfGetOps |
~MPresenceBlockListEvent | ( | ) | [protected, inline, virtual] |
Protected destructor. Object instancies can't be deleted via this interface.
const MPresenceBlockInfo & | CurrentBlock | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence block entry by index.
Note that, valid "current information" is signalled only when the client refreshes the event data from XIMP Framework cache, by re-issuing the data subscription. In other cases, just plain "delta information" is signalled to client.
TInt aIndex | The index of the presence block entry to get. |
TInt | CurrentBlocksCount | ( | ) | const [pure virtual] |
Gets count of current presence block entries.
Note that, valid "current information" is signalled only when the client refreshes the event data from XIMP Framework cache, by re-issuing the data subscription. In other cases, just plain "delta information" is signalled to client.
const MXIMPDataSubscriptionState & | DataSubscriptionState | ( | ) | const [pure virtual] |
Returns subscription state object holding information data items data subscription state.
const MPresenceBlockInfo & | DisappearedBlock | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence block entry by index.
TInt aIndex | The index of the presence block entry to get. |
TInt | DisappearedBlocksCount | ( | ) | const [pure virtual] |
Gets count of disappeared presence block entries.
const MPresenceBlockInfo & | NewBlock | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence block entry by index.
TInt aIndex | The index of the presence block entry to get. |
TInt | NewBlocksCount | ( | ) | const [pure virtual] |
Gets count of new presence block entries.
const MPresenceBlockInfo & | UpdatedBlock | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence block entry by index.
TInt aIndex | The index of the presence block entry to get. |
TInt | UpdatedBlocksCount | ( | ) | const [pure virtual] |
Gets count of updated presence block entries.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.