class MPresenceGrantRequestListEvent : public MXIMPBase |
Event interface for presence grant request 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 grant request list content.
Clients subscribe for this event with MPresenceAuthorization::SubscribePresenceGrantRequestListL() .
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 MPresenceGrantRequestInfo & | CurrentRequest ( TInt ) |
TInt | CurrentRequestsCount () |
const MXIMPDataSubscriptionState & | DataSubscriptionState () |
const MPresenceGrantRequestInfo & | DisappearedRequest ( TInt ) |
TInt | DisappearedRequestsCount () |
const MPresenceGrantRequestInfo & | NewRequest ( TInt ) |
TInt | NewRequestsCount () |
Protected Member Functions | |
---|---|
~MPresenceGrantRequestListEvent () |
Inherited Functions | |
---|---|
MXIMPBase::GetInterface(TInt32,TIfGetOps) | |
MXIMPBase::GetInterface(TInt32,TIfGetOps)const | |
MXIMPBase::GetInterfaceId()const | |
MXIMPBase::~MXIMPBase() |
Inherited Enumerations | |
---|---|
MXIMPBase:@65 | |
MXIMPBase:TIfGetOps |
~MPresenceGrantRequestListEvent | ( | ) | [protected, inline, virtual] |
Protected destructor. Object instancies can't be deleted via this interface.
const MPresenceGrantRequestInfo & | CurrentRequest | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence grant request 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 grant request entry to get. |
TInt | CurrentRequestsCount | ( | ) | const [pure virtual] |
Gets count of current presence grant request 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 MPresenceGrantRequestInfo & | DisappearedRequest | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence grant request entry by index.
TInt aIndex | The index of the presence grant request entry to get. |
TInt | DisappearedRequestsCount | ( | ) | const [pure virtual] |
Gets count of disappeared presence grant request entries.
const MPresenceGrantRequestInfo & | NewRequest | ( | TInt | aIndex | ) | const [pure virtual] |
Gets presence grant request entry by index.
TInt aIndex | The index of the presence grant request entry to get. |
TInt | NewRequestsCount | ( | ) | const [pure virtual] |
Gets count of new presence grant request 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.