MPresenceWatcherInfo Class Reference

class MPresenceWatcherInfo : public MXIMPBase

Interface for presence watcher info object.

Presence watcher info object presents single presence watcher entry in the presence watcher list. Presence watcher info object holds the identity, display name and watcher type information for the presence watcher.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MPresenceWatcherInfo()

~MPresenceWatcherInfo()[inline, virtual]

Public destructor. Objects can be deleted through this interface.

Member Functions Documentation

SetWatcherDisplayNameL(const TDesC16 &)

voidSetWatcherDisplayNameL(const TDesC16 &aDisplayName)[pure virtual]

Sets presence watcher displayname value.

leave
KErrNoMemory if failed to allocate memory.

Parameters

const TDesC16 & aDisplayNameNew display name value.

SetWatcherIdL(MXIMPIdentity *)

voidSetWatcherIdL(MXIMPIdentity *aIdentity)[pure virtual]

Sets watcher identity value.

leave
KErrNoMemory if failed to allocate memory.
leave
KErrArgument if NULL argument were provided.

Parameters

MXIMPIdentity * aIdentityNew watcher identity value. Ownership of the argument is transfered to callee, if method succeeds without a leave.

SetWatcherTypeL(TWatcherType)

voidSetWatcherTypeL(TWatcherTypeaType)[pure virtual]

Sets presence watcher type value.

leave
KErrNoMemory if failed to allocate memory.

Parameters

TWatcherType aTypeNew presence watcher type value.

WatcherDisplayName()

const TDesC16 &WatcherDisplayName()const [pure virtual]

Returns presence watcher displayname value.

WatcherId()

const MXIMPIdentity &WatcherId()const [pure virtual]

Returns presence watcher identity value.

WatcherType()

TWatcherType WatcherType()const [pure virtual]

Returns presence watcher type value.

Member Enumerations Documentation

Enum TWatcherType

Presence watcher types.

Enumerators

EUnknown

Presence watcher type unknown.

EPresenceSubscriber

Presence watcher is currently subscribing user presence.