MMDUChunkDataObserver Class Reference

class MMDUChunkDataObserver

Observer to MetaDataUtility for processing data asynchronously

MetaDataUtility.lib

Member Functions Documentation

HandleChunkDataComplete(TInt)

void HandleChunkDataComplete ( TInt aError ) [pure virtual]

Notify that parsing of metadata has completed. No Additional chunks should be sent through ProcessChunkData(), all metadata processing is complete. This will only be called if the user has called ParseChunkData(). User can retrive metadata by calling CMetaDataUtility::MetaDataCount() , CMetaDataUtility::MetaDataFieldsL() .

Parameters

TInt aError a return error code KErrNone KErrNoMemory KErrCorrupt

HandleChunkDataProcessed(TInt)

void HandleChunkDataProcessed ( TInt aError ) [pure virtual]

Notify that processing of the previous received chunk has completed. User can call CMetaDataUtility::ProcessChunkData() to send a new chunk. No Additional chunks should be sent, when there is an error. This will be called when Final Chunk is sent and no metadata is found.

Parameters

TInt aError a return error code KErrNone KErrNoMemory KErrCorrupt KErrNotFound

HandleChunkDataReadyToBeParsed()

void HandleChunkDataReadyToBeParsed ( ) [pure virtual]

Notify that collecting of metadata has completed. No Additional chunks should be sent through ProcessChunkData(), All metadata have been collected, and ready to be parsed. User need to call CMetaDataUtility::ParseChunkData() to parse the data