MSenPolicy Class Reference
Example structure of Policy XML fragment:
<Policy> <Transport> <IapId> 1234567890 </IapId> </Transport> <IdentityProviderIDs strict="true"> <IdentityProviderID> urn:first.id.example.com </IdentityProviderID> <IdentityProviderID> urn:second.id.example.com </IdentityProviderID> </IdentityProviderIDs> </Policy>
Member Functions Documentation
Accepts(MSenPolicy &)
Checks if policies match.
AddIdentityProviderIdL(const TDesC8 &)
TInt
|
AddIdentityProviderIdL
|
(
|
const
TDesC8
&
|
aProviderId
|
)
|
[pure virtual]
|
Adds a new Identity provider ID value at the end of the current list values Checks for duplicate (does not insert new ID elements with equal content)
IapId(TUint32 &)
Parameters
TUint32
& aCurrentIapId
|
will contain the current Internet Access Point ID Max value for IAP ID is 2147483647
|
IdentityProviderIds8L()
Getter for IdentityProvider IDs.
-
Since
-
Series60 3.0
RebuildFrom(MSenPolicy &)
Method reads provider policy class instance values from given template. Values may include an IAP ID, preferred IdentityProvider IDs etc.
-
Since
-
Series60 3.0
Parameters
MSenPolicy
& aTemplate
|
from which the values are read.
|
SetIapIdL(TUint32)
void
|
SetIapIdL
|
(
|
TUint32
|
aIapId
|
)
|
[pure virtual]
|
Setter for Internet Access Point (IAP) ID. Method is used to define default access point to avoid IAP selection dialog prompt.
-
Since
-
Series60 3.0
Parameters
TUint32
aIapId
|
is the ID found from CommDB.
|
SetIdentityProviderIdsL(CSenIdentityProviderIdArray8 &)
Setter for IdentityProvider IDs. Overrides current values with the given values from the array. When initiating a new service connection, this list of ProviderIDs define, which IdentityProviders are preferred OR which are strictly acceptable ones.
-
Since
-
Series60 3.0
SetSnapIdL(TUint32)
void
|
SetSnapIdL
|
(
|
TUint32
|
aSnapId
|
)
|
[pure virtual]
|
SnapId(TUint32 &)
TInt
|
SnapId
|
(
|
TUint32
&
|
aCurrentSnapId
|
)
|
[pure virtual]
|
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.