class Roap::MRoapObserver |
Public Member Functions | |
---|---|
TBool | ConnectionConfL() |
TBool | ContactRiConfL() |
void | ContentDetailsL(const TDesC &, const TDesC8 &, const TUid &) |
void | ContentDownloadInfoL(TPath &, TFileName &, TInt &) |
void | ErrorUrlL(const TDesC8 &) |
void | PostResponseUrlL(const TDesC8 &) |
void | RightsObjectDetailsL(const RPointerArray< CDRMRights > &) |
void | RoapProgressInfoL(const TInt) |
TBool | TransIdConfL() |
TBool | ConnectionConfL | ( | ) | [pure virtual] |
ConnectionConfL
The function is called by ROAP engine when a network connection is to be established. Return value ETrue indicates to the ROAP engine that the user consent has been retrieved to create the network connection.
TBool | ContactRiConfL | ( | ) | [pure virtual] |
ContactRiConfL
void | ContentDetailsL | ( | const TDesC & | aPath, |
const TDesC8 & | aType, | |||
const TUid & | aAppUid | |||
) | [pure virtual] |
ContentDetailsL
The function is called when the ROAP engine has received a DCF content (together with a ROAP response) The ROAP engine saves the DCF to the appropriate location and gives out the information about the saved DCF file by calling this method
void | ContentDownloadInfoL | ( | TPath & | aTempFolder, |
TFileName & | aContentName, | |||
TInt & | aMaxSize | |||
) | [pure virtual] |
ContentDownloadInfoL
The function is called when the ROAP engine notices that it is about to receive a multipart content as a ROAP response. The method must return via out-parameter the path to a temp folder where the content is saved during download. The name that is used as filename when saving the content to the appropriate palce and the maximum size of the content (a safety upper limit) must also be provided via out-parameters.
void | ErrorUrlL | ( | const TDesC8 & | aErrorUrl | ) | [pure virtual] |
ErrorUrlL
The function is called in ROAP error case and it provides an error URL for the caller. The calling entity should send an HTTP GET request to the URL which should then return an HTML page.
const TDesC8 & aErrorUrl |
void | PostResponseUrlL | ( | const TDesC8 & | aPostResponseUrl | ) | [pure virtual] |
PostResponseUrlL
The function is called if handled ROAP metering report response contains PostResponseURL extension. The calling entity should send an HTTP GET request to the URL, which should return ROAP trigger, download descriptor or multipart message containing both download descriptor and ROAP trigger.
const TDesC8 & aPostResponseUrl |
void | RightsObjectDetailsL | ( | const RPointerArray< CDRMRights > & | aRightsList | ) | [pure virtual] |
RightsObjectDetailsL
The function is called after successful completion of RO acquisition protocol. The passes information about stored rights objects to the observer.
const RPointerArray< CDRMRights > & aRightsList |
void | RoapProgressInfoL | ( | const TInt | aProgressInfo | ) | [pure virtual] |
RoapProgressInfoL
The function provides progress information about ROAP processing to the observer
const TInt aProgressInfo |
TBool | TransIdConfL | ( | ) | [pure virtual] |
TransIdConfL
The function is called during RO acquisition when the ROAP engine wants to perform trasaction tracking. The user conset must be asked before the operation.
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.