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 &)

void SetWatcherDisplayNameL ( const TDesC16 & aDisplayName ) [pure virtual]

Sets presence watcher displayname value.

leave
KErrNoMemory if failed to allocate memory.

Parameters

const TDesC16 & aDisplayName New display name value.

SetWatcherIdL(MXIMPIdentity *)

void SetWatcherIdL ( MXIMPIdentity * aIdentity ) [pure virtual]

Sets watcher identity value.

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

Parameters

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

SetWatcherTypeL(TWatcherType)

void SetWatcherTypeL ( TWatcherType aType ) [pure virtual]

Sets presence watcher type value.

leave
KErrNoMemory if failed to allocate memory.

Parameters

TWatcherType aType New 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.