MSenServicePolicy Class Reference

class MSenServicePolicy

Member Functions Documentation

Accepts(MSenServicePolicy &)

TBool Accepts(MSenServicePolicy &aPolicyPattern)[pure virtual]

Checks if policies match.

Parameters

MSenServicePolicy & aPolicyPattern

AddPolicyL(CSenElement *)

TInt AddPolicyL(CSenElement *aPolicy)[pure virtual]
Adds a policy in SD Method is used to add a RAW policy obtained by Network or some dynamic means
Since
Series60 4.0

Parameters

CSenElement * aPolicyis the Policy Element

ClientPolicy()

CSenElement *ClientPolicy()[pure virtual]

Gets the Client Policy

ClientPolicy(const TDesC8 &)

TBool ClientPolicy(const TDesC8 &aKey)[pure virtual]

Searches for the Client Policy with the given key value

Parameters

const TDesC8 & aKey

ClientPolicyValue(const TDesC8 &)

HBufC8 *ClientPolicyValue(const TDesC8 &aKey)[pure virtual]

Gets the Client Policy with the given key value

Parameters

const TDesC8 & aKey

RebuildServicePolicyFrom(MSenServicePolicy &)

TInt RebuildServicePolicyFrom(MSenServicePolicy &aTemplate)[pure virtual]
Method reads provider policy class instance values from given template.
Since
Series60 4.0

Parameters

MSenServicePolicy & aTemplatefrom which the values are read.

RemovePolicyL(TDesC8 &)

TInt RemovePolicyL(TDesC8 &aPolicyName)[pure virtual]

Remove a Policy from SD

Parameters

TDesC8 & aPolicyName

ServicePolicies(RPolicyArray &)

TInt ServicePolicies(RPolicyArray &aPolicies)[pure virtual]
Getter for ServicePolicies
Since
Series60 4.0

Parameters

RPolicyArray & aPolicies