MServicePresenceInfo Class Reference

class MServicePresenceInfo : public MXIMPBase

Interface for service presence info object.

TodoInterface might be extended with new methods.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MServicePresenceInfo()

~MServicePresenceInfo()[inline, virtual]

Public destructor. MServicePresenceInfo object can be deleted through this interface.

Member Functions Documentation

Fields()

const MPresenceInfoFieldCollection &Fields()const [pure virtual]

Returns read-only reference to presence information field collection.

Fields()

MPresenceInfoFieldCollection &Fields()[pure virtual]

Returns modifiable reference to presence information field collection.

ServiceType()

const TPtrC8ServiceType()const [pure virtual]

Returns service type value.

Returns string identifying type of service for which this object is containing presence information.

Service type is on of the well known strings listed in NPresenceInfo::NServiceType namespace.

SetServiceTypeL(const TDesC8 &)

voidSetServiceTypeL(const TDesC8 &aServiceType)[pure virtual]

Set service type value.

Service type is on of the well known strings listed in NPresenceInfo::NServiceType namespace.

leave
KErrArgument if the given string is not in NPresenceInfo::NServiceType
leave
KErrNoMemory if failed to allocate memory

Parameters

const TDesC8 & aServiceType