class MPresenceWatcherListEvent : public MXIMPBase |
Event interface for presence watcher 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 watcher list content.
Clients subscribe for this event with MPresencePublishing::SubscribePresenceWatcherListL().
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 MPresenceWatcherInfo & | CurrentWatcher ( TInt ) |
TInt | CurrentWatchersCount () |
const MXIMPDataSubscriptionState & | DataSubscriptionState () |
const MPresenceWatcherInfo & | DisappearedWatcher ( TInt ) |
TInt | DisappearedWatchersCount () |
const MPresenceWatcherInfo & | NewWatcher ( TInt ) |
TInt | NewWatchersCount () |
Protected Member Functions | |
---|---|
~MPresenceWatcherListEvent () |
Inherited Functions | |
---|---|
MXIMPBase::GetInterface(TInt32,TIfGetOps) | |
MXIMPBase::GetInterface(TInt32,TIfGetOps)const | |
MXIMPBase::GetInterfaceId()const | |
MXIMPBase::~MXIMPBase() |
Inherited Enumerations | |
---|---|
MXIMPBase:@26 | |
MXIMPBase:TIfGetOps |
~MPresenceWatcherListEvent | ( | ) | [protected, inline, virtual] |
Protected destructor. Object instancies can't be deleted via this interface.
const MPresenceWatcherInfo & | CurrentWatcher | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence watcher entry by index.
Note that, current information is signalled only when the client refreshes the event data from XIMP Framework cache, by re-issuing the data subscription.
TInt aIndex | The index of the presence watcher entry to get. |
TInt | CurrentWatchersCount | ( | ) | const [pure virtual] |
Gets count of current presence watcher 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 about data items data subscription state.
const MPresenceWatcherInfo & | DisappearedWatcher | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence watcher entry by index.
TInt aIndex | The index of the presence watcher entry to get. |
TInt | DisappearedWatchersCount | ( | ) | const [pure virtual] |
Gets count of dissappeared presence watcher entries.
const MPresenceWatcherInfo & | NewWatcher | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence watcher entry by index.
TInt aIndex | The index of the presence watcher entry to get. |
TInt | NewWatchersCount | ( | ) | const [pure virtual] |
Gets count of new presence watcher 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.