#include <mw/msencobrandinginterface.h>
class MSenCoBrandingObserver |
Public Member Functions | |
---|---|
pure virtual TBool | OnGetBrandIdL(const TDesC8 &, RBuf8 &) |
Callback interface for co-branding. Note: UID for this interface is KSenInterfaceUidCoBrandingObserver.
Application that wishes to enable billing also needs to enable following properties of client policy by calling CSenXmlServiceDescription::SetPolicy( const TDesC8& aName, const TDesC8& aValue ):
Application Info [ <AppInfo>, KSenLocalnameAppInfo ]
WAP gateway address [ <WAPGW"/>, KSenLocalnameWAPGW ]
MWS namespace [ <MwsNamespace>, KSenLocalnameMwsNamespace ]
If application does not provide WAP GW address as part of client policy, it signalizes that application wants to skip communication with WAP GW and talk directly with billing gateway instead. Typically, this depends on operator spesific environment.
This method is called when list of co-branding IDs is receieved during authentication.
Parameter | Description |
---|---|
aBrandIdListAsXmlSnippet | is the list of brand IDs in form of XML snippet |
aSelectedBrandId | is supposed to point to the brand ID selected by the application when this callback returns. |
Returns: TBool indicates whether or not the application wants to proceed (enable) the use of billing ecosystem or stop the whole progress.