MPresenceGrantRequestListEvent Class Reference

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() .

XIMP Framework signals this event when:
  • 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.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MPresenceGrantRequestListEvent()

~MPresenceGrantRequestListEvent ( ) [protected, inline, virtual]

Protected destructor. Object instancies can't be deleted via this interface.

Member Functions Documentation

CurrentRequest(TInt)

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.

Parameters

TInt aIndex The index of the presence grant request entry to get.

CurrentRequestsCount()

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.

DataSubscriptionState()

const MXIMPDataSubscriptionState & DataSubscriptionState ( ) const [pure virtual]

Returns subscription state object holding information about data items data subscription state.

DisappearedRequest(TInt)

const MPresenceGrantRequestInfo & DisappearedRequest ( TInt aIndex ) const [pure virtual]

Gets presence grant request entry by index.

Parameters

TInt aIndex The index of the presence grant request entry to get.

DisappearedRequestsCount()

TInt DisappearedRequestsCount ( ) const [pure virtual]

Gets count of disappeared presence grant request entries.

NewRequest(TInt)

const MPresenceGrantRequestInfo & NewRequest ( TInt aIndex ) const [pure virtual]

Gets presence grant request entry by index.

Parameters

TInt aIndex The index of the presence grant request entry to get.

NewRequestsCount()

TInt NewRequestsCount ( ) const [pure virtual]

Gets count of new presence grant request entries.