MPresentityPresenceEvent Class Reference

class MPresentityPresenceEvent : public MXIMPBase

Event interface for subscribed presentity presence information.

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 subscribed presentitys presence information.

Clients subscribe for this event with MPresenceWatching::SubscribePresentityPresenceL().

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

~MPresentityPresenceEvent()

~MPresentityPresenceEvent()[protected, inline, virtual]

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

Member Functions Documentation

DataSubscriptionState()

const MXIMPDataSubscriptionState &DataSubscriptionState()const [pure virtual]

Returns subscription state object holding information about presentity presence subscription current state.

PresentityId()

const MXIMPIdentity &PresentityId()const [pure virtual]

Returns indetity of the presentity which presence is notified here.

SubscribedPresence()

const MPresenceInfo &SubscribedPresence()const [pure virtual]

Returns presence info object holding the subscribed presentitys presence information.