MPresenceInfoFieldValueBinary Class Reference

class MPresenceInfoFieldValueBinary : public MXIMPBase

Interface for binary presence info field value object.

Interface for presence information field value having binary format. Contained binary value might be image or similar data object.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MPresenceInfoFieldValueBinary()

~MPresenceInfoFieldValueBinary()[inline, virtual]

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

Member Functions Documentation

BinaryValue()

TPtrC8 BinaryValue()const [pure virtual]

Returns the binary value.

MaxLength()

TInt MaxLength()const [pure virtual]

Returns maximum length of the field value.

MimeType()

const TPtrC8MimeType()const [pure virtual]

Returns the mime type of the contained value.

SetBinaryValueL(const TDesC8 &)

voidSetBinaryValueL(const TDesC8 &aValue)[pure virtual]

Sets the binary value.

leave
KErrOverflow if value length exceeds field specific maxlength.
leave
KErrNoMemory if failed to allocate memory.

Parameters

const TDesC8 & aValueNew binary value to set.

SetMimeTypeL(const TDesC8 &)

voidSetMimeTypeL(const TDesC8 &aMimeType)[pure virtual]

Sets the mime type of the contained object.

leave
KErrNoMemory if failed to allocate memory.

Parameters

const TDesC8 & aMimeTypeNew mime type value.