class MPresenceBuddyInfo2 |
Interface buddy presence info.
Public Member Functions | |
---|---|
~MPresenceBuddyInfo2 () | |
TAvailabilityValues | Availability () |
TPtrC | AvailabilityText () |
TPtrC8 | Avatar () |
TPtrC | BuddyId () |
TBool | EqualsIdentity (const MPresenceBuddyInfo2 &) |
void | ExternalizeL ( RWriteStream &) |
TPtrC8 | GetAnyField (const TDesC16 &) |
void | GetFieldKeysL ( CDesCArrayFlat &) |
void | InternalizeL ( RReadStream &) |
IMPORT_C MPresenceBuddyInfo2 * | NewL () |
IMPORT_C MPresenceBuddyInfo2 * | NewLC () |
void | RemoveField (const TDesC &) |
void | SetAnyFieldL (const TDesC16 &, const TDesC8 &) |
void | SetAvailabilityL ( TAvailabilityValues , const TDesC &) |
void | SetAvatarL (const TDesC8 &) |
void | SetIdentityL (const TDesC &) |
void | SetStatusMessageL (const TDesC &) |
TPtrC | StatusMessage () |
Public Member Enumerations | |
---|---|
enum | TAvailabilityValues { EUnknownAvailability = 0, ENotAvailable = 1, EBusy = 2, EAvailable = 3 } |
~MPresenceBuddyInfo2 | ( | ) | [inline, virtual] |
Public destructor. Objects can be deleted through this interface.
TBool | EqualsIdentity | ( | const MPresenceBuddyInfo2 & | aOtherInstance | ) | const [pure virtual] |
Return true if identity is same with other instance.
const MPresenceBuddyInfo2 & aOtherInstance | other instance of this object. |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [pure virtual] |
RWriteStream & aStream | write stream |
TPtrC8 | GetAnyField | ( | const TDesC16 & | aKey | ) | [pure virtual] |
Gets any key value parameter for the buddy
const TDesC16 & aKey | field name |
void | GetFieldKeysL | ( | CDesCArrayFlat & | aKeys | ) | [pure virtual] |
Gets all the keys that are in use
CDesCArrayFlat & aKeys | array where the keys are written to. |
void | InternalizeL | ( | RReadStream & | aStream | ) | [pure virtual] |
RReadStream & aStream | read stream |
IMPORT_C MPresenceBuddyInfo2 * | NewL | ( | ) | [static] |
Factory method to instantiate MPresenceBuddyInfo2
IMPORT_C MPresenceBuddyInfo2 * | NewLC | ( | ) | [static] |
Factory method to instantiate MPresenceBuddyInfo2
void | RemoveField | ( | const TDesC & | aKey | ) | [pure virtual] |
Removes the field
const TDesC & aKey | field name |
void | SetAnyFieldL | ( | const TDesC16 & | aKey, |
const TDesC8 & | aValue | |||
) | [pure virtual] |
Sets any key value parameter for the buddy
void | SetAvailabilityL | ( | TAvailabilityValues | aAvailability, |
const TDesC & | aAvailabilityText | |||
) | [pure virtual] |
Sets buddy's availability
TAvailabilityValues aAvailability | avalability value |
const TDesC & aAvailabilityText | avalability text, same as KAvailability field |
void | SetAvatarL | ( | const TDesC8 & | aAvatar | ) | [pure virtual] |
Sets buddy's avatar
const TDesC8 & aAvatar | avatar, same as KAvatar field |
void | SetIdentityL | ( | const TDesC & | aBuddyId | ) | [pure virtual] |
Sets buddy's identity
const TDesC & aBuddyId | buddy id |
void | SetStatusMessageL | ( | const TDesC & | aStatusMessage | ) | [pure virtual] |
Sets buddy's status text
const TDesC & aStatusMessage | status text, same as KStatusMessage field |
Common enumerated availability values for "availability" presence information field.
EUnknownAvailability = 0 |
Presentity status is unknown. |
ENotAvailable = 1 |
Presentity is not available for communication. |
EBusy = 2 |
Presentity is currently busy. Presentity may or may not be available for for communication. |
EAvailable = 3 |
Presentity is available for communication. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.