MCatalogsEngineObserver Class Reference

class MCatalogsEngineObserver

Observer interface for catalogs engine events

Engine users should implement this interface to be able to receive notifications from the catalogs engine

Public Member Functions
voidCatalogsConnectionEvent(TBool)
voidCatalogsEngineShutdown()
voidCatalogsUpdateNotification(const TDesC &, const TDesC &, const TDesC &, const TDesC &, TBool)

Member Functions Documentation

CatalogsConnectionEvent(TBool)

voidCatalogsConnectionEvent(TBoolaConnectionActive)[pure virtual]

Called when connection status changes. This is called when client- related network activity starts and stops.

Parameters

TBool aConnectionActiveConnection status. ETrue if connection is active, EFalse otherwise.

CatalogsEngineShutdown()

voidCatalogsEngineShutdown()[pure virtual]

Called when the Catalogs Engine is about to be updated. The client must stop using the Engine, closing its session(s) and deleting its Catalogs Engine objects ASAP.

CatalogsUpdateNotification(const TDesC &, const TDesC &, const TDesC &, const TDesC &, TBool)

voidCatalogsUpdateNotification(const TDesC &aTarget,
const TDesC &aId,
const TDesC &aVersion,
const TDesC &aUri,
TBoolaForce
)[pure virtual]

Called when a Catalogs OTA update is available. Only the client authorized for Catalogs OTA updates will receive this callback.

Parameters

const TDesC & aTargetUpdate target.
const TDesC & aIdAdditional update target id, such as application UID or skin ID.
const TDesC & aVersionUpdate version.
const TDesC & aUriUri for downloading the update package.
TBool aForceETrue if the update should be forced (user is not asked), EFalse otherwise.