MSenCoBrandingObserver Class Reference

class MSenCoBrandingObserver

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.

Public Member Functions
TBool OnGetBrandIdL (const TDesC8 &, RBuf8 &)

Member Functions Documentation

OnGetBrandIdL(const TDesC8 &, RBuf8 &)

TBool OnGetBrandIdL ( const TDesC8 & aBrandIdListAsXmlSnippet,
RBuf8 & aSelectedBrandId
) [pure virtual]

This method is called when list of co-branding IDs is receieved during authentication.

Parameters

const TDesC8 & aBrandIdListAsXmlSnippet is the list of brand IDs in form of XML snippet
RBuf8 & aSelectedBrandId is supposed to point to the brand ID selected by the application when this callback returns.