Roap::MRoapObserver Class Reference

class Roap::MRoapObserver

Member Functions Documentation

ConnectionConfL()

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.

Since
3.0
leave
System wide error code

ContactRiConfL()

TBool ContactRiConfL()[pure virtual]

ContactRiConfL

Since
3.0
leave
System wide error code

ContentDetailsL(const TDesC &, const TDesC8 &, const TUid &)

voidContentDetailsL(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

Since
3.0
leave
System wide error code

Parameters

const TDesC & aPath
const TDesC8 & aType
const TUid & aAppUid

ContentDownloadInfoL(TPath &, TFileName &, TInt &)

voidContentDownloadInfoL(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.

Since
3.0
leave
System wide error code

Parameters

TPath & aTempFolder
TFileName & aContentName
TInt & aMaxSize

ErrorUrlL(const TDesC8 &)

voidErrorUrlL(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.

Since
3.0
leave
System wide error code

Parameters

const TDesC8 & aErrorUrl

PostResponseUrlL(const TDesC8 &)

voidPostResponseUrlL(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.

Since
3.2
leave
System wide error code

Parameters

const TDesC8 & aPostResponseUrl

RightsObjectDetailsL(const RPointerArray< CDRMRights > &)

voidRightsObjectDetailsL(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.

Since
3.0
leave
System wide error code

Parameters

const RPointerArray< CDRMRights > & aRightsList

RoapProgressInfoL(const TInt)

voidRoapProgressInfoL(const TIntaProgressInfo)[pure virtual]

RoapProgressInfoL

The function provides progress information about ROAP processing to the observer

Since
3.0
leave
System wide error code

Parameters

const TInt aProgressInfo

TransIdConfL()

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.

Since
3.0
leave
System wide error code