MContactPresence Class Reference
MContactPresence
is interface of Contact Presence API. Objects of this interface are created using
TContactPresenceFactory
in contactpresencefactory.h. This API is used to get presence status icons of phonebook contacts. Asynchronous methods of this interface are completed in
MContactPresenceObs
which shall be implemented by the users of this interface.
contactpresence.lib
-
Since
-
s60 v5.0
Member Functions Documentation
CancelAll()
void
|
CancelAll
|
(
|
)
|
[pure virtual]
|
Cancel all pending operations.
MContactPresenceObs
is NOT called but the operations are cancelled silently.
CancelOperation(TInt)
void
|
CancelOperation
|
(
|
TInt
|
aOpId
|
)
|
[pure virtual]
|
Cancel the specific operation. Either GetPresenceIconFileL or GetPresenceInfoL.
MContactPresenceObs
is NOT called but the operations are cancelled silently.
Parameters
TInt
aOpId
|
Operation id to identify the operation [IN]
|
CancelSubscribePresenceInfo(const MDesC8Array &)
void
|
CancelSubscribePresenceInfo
|
(
|
const
MDesC8Array
&
|
aLinkArray
|
)
|
[pure virtual]
|
Cancels subscriptions to presence info. Cancelling of non-subscribed contacts will not produce error callbacks.
Close()
void
|
Close
|
(
|
)
|
[pure virtual]
|
Destructor that must be called by client to destroy this object.
GetPresenceIconFileL(const TDesC8 &, const TDesC8 &)
TInt
|
GetPresenceIconFileL
|
(
|
const
TDesC8
&
|
aBrandId,
|
|
const
TDesC8
&
|
aElementId
|
|
)
|
[pure virtual]
|
Parameters
const
TDesC8
& aBrandId
|
branding id
|
const
TDesC8
& aElementId
|
element id
|
GetPresenceInfoL(const TDesC8 &)
TInt
|
GetPresenceInfoL
|
(
|
const
TDesC8
&
|
aPackedLink
|
)
|
[pure virtual]
|
Parameters
const
TDesC8
& aPackedLink
|
a packed contact link for phonebook contact
|
SetPresenceIconSize(const TSize)
void
|
SetPresenceIconSize
|
(
|
const
TSize
|
aSize
|
)
|
[pure virtual]
|
Set icon size If not set then a default size is used in response of GetPresenceIconFileL.
Parameters
const
TSize
aSize
|
new size used from now on.
|
SubscribePresenceInfoL(const MDesC8Array &)
void
|
SubscribePresenceInfoL
|
(
|
const
MDesC8Array
&
|
aLinkArray
|
)
|
[pure virtual]
|
Parameters
const
MDesC8Array
& aLinkArray
|
an array of packed contact links, specified in phonebook API
|
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.