MPresenceBlockInfo Class Reference

class MPresenceBlockInfo : public MXIMPBase

Interface for presence block info object.

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

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MPresenceBlockInfo()

~MPresenceBlockInfo ( ) [inline, virtual]

Public destructor. Objects can be deleted through this interface.

Member Functions Documentation

BlockedEntityDisplayName()

const TDesC16 & BlockedEntityDisplayName ( ) const [pure virtual]

Returns displayname of the blocked entity.

BlockedEntityId()

const MXIMPIdentity & BlockedEntityId ( ) const [pure virtual]

Returns identity of the blocked entity.

SetBlockedEntityDisplayNameL(const TDesC16 &)

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

Sets displayname of the blocked entity.

leave
KErrNoMemory if failed to allocate memory.

Parameters

const TDesC16 & aDisplayName New display name value.

SetBlockedEntityIdL(MXIMPIdentity *)

void SetBlockedEntityIdL ( MXIMPIdentity * aIdentity ) [pure virtual]

Sets identity of the blocked entity.

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

Parameters

MXIMPIdentity * aIdentity Identity of the blocked entity. Ownership of the argument is transfered to callee, if method succeeds without a leave.