class MPresenceInfoFilter : public MXIMPBase |
Interface for presence info filter object.
Presence information filter is used to define requested presence information in presence subscriptions and granted presence information in presence grants.
Filtering is "inclusive": data is passed through if it matches the given filtering criteria. Data with keys not matching to the filtering criteria will be skipped by the filter.
The Accept*FilterL methods can be called many times, to accept multiple distinct fields. Wildcards "*" and "?" are allowed within the strings.
TodoInterface will be extended.
Public Member Functions | |
---|---|
~MPresenceInfoFilter () | |
void | AcceptDeviceFilterL (const TDesC8 &, const TDesC8 &) |
void | AcceptPersonFilterL (const TDesC8 &) |
void | AcceptServiceFilterL (const TDesC8 &, const TDesC8 &) |
TBool | MatchDeviceFilterL (const TDesC8 &, const TDesC8 &) |
TBool | MatchPersonFilter (const TDesC8 &) |
TBool | MatchServiceFilterL (const TDesC8 &, const TDesC8 &) |
Inherited Functions | |
---|---|
MXIMPBase::GetInterface(TInt32,TIfGetOps) | |
MXIMPBase::GetInterface(TInt32,TIfGetOps)const | |
MXIMPBase::GetInterfaceId()const | |
MXIMPBase::~MXIMPBase() |
Inherited Enumerations | |
---|---|
MXIMPBase:@26 | |
MXIMPBase:TIfGetOps |
~MPresenceInfoFilter | ( | ) | [inline, virtual] |
Public destructor. MPresenceInfoFilter object can be deleted through this interface.
void | AcceptDeviceFilterL | ( | const TDesC8 & | aDeviceName, |
const TDesC8 & | aFieldName | |||
) | [pure virtual] |
Set filter for the device presence component. Wildcards "*" and "?" are allowed.
void | AcceptPersonFilterL | ( | const TDesC8 & | aFieldName | ) | [pure virtual] |
Set filter for a field in the person presence component. Wildcards "*" and "?" are allowed.
const TDesC8 & aFieldName | The field name within the person info |
void | AcceptServiceFilterL | ( | const TDesC8 & | aServiceName, |
const TDesC8 & | aFieldName | |||
) | [pure virtual] |
Set filter for the service presence component. Wildcards "*" and "?" are allowed.
TBool | MatchDeviceFilterL | ( | const TDesC8 & | aDeviceName, |
const TDesC8 & | aFieldName | |||
) | const [pure virtual] |
Find out if the filter accepts the field in a given device info.
TBool | MatchPersonFilter | ( | const TDesC8 & | aFieldName | ) | const [pure virtual] |
Try to match given field type against the filters for the person presence component.
const TDesC8 & aFieldName | The field to check |
TBool | MatchServiceFilterL | ( | const TDesC8 & | aServiceName, |
const TDesC8 & | aFieldName | |||
) | const [pure virtual] |
Find out if the filter accepts the field in a given service info.
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.