CMMFUrlSource Class Reference

class CMMFUrlSource : public CBase

Concrete implementation of a URL data source.

This class is used only to pass information regarding the URL and IAP into the controller plugin. IT CANNOT BE USED TO READ DATA FROM A URL. Each of the MDataSource APIs are implemented as either returning or leaving with KErrNotSupported as appropriate.

The configuration data for this class is an externalized CMMFUrlParams object.

CMMFUrlParams

Inherits from

Constructor & Destructor Documentation

CMMFUrlSource()

CMMFUrlSource()[private]

~CMMFUrlSource()

~CMMFUrlSource()[virtual]

Destructor.

Member Functions Documentation

BufferEmptiedL(CMMFBuffer *)

voidBufferEmptiedL(CMMFBuffer *aBuffer)

Parameters

CMMFBuffer * aBuffer

CanCreateSourceBuffer()

TBool CanCreateSourceBuffer()

ConstructSourceL(const TDesC8 &)

voidConstructSourceL(const TDesC8 &aInitData)[private]

Parameters

const TDesC8 & aInitData

CreateSourceBufferL(TMediaId, TBool &)

CMMFBuffer *CreateSourceBufferL(TMediaId,
TBool &aReference
)

Parameters

TMediaId
TBool & aReference

CreateSourceBufferL(TMediaId, CMMFBuffer &, TBool &)

CMMFBuffer *CreateSourceBufferL(TMediaIdaMediaId,
CMMFBuffer &,
TBool &aReference
)

Parameters

TMediaId aMediaId
CMMFBuffer &
TBool & aReference

FillBufferL(CMMFBuffer *, MDataSink *, TMediaId)

voidFillBufferL(CMMFBuffer *aBuffer,
MDataSink *aConsumer,
TMediaId
)

Parameters

CMMFBuffer * aBuffer
MDataSink * aConsumer
TMediaId

IAPId()

TInt IAPId()const [inline]

Returns the Internet Access Point ID.

Since
7.0s

NegotiateSourceL(MDataSink &)

voidNegotiateSourceL(MDataSink &)

Parameters

MDataSink &

NewSourceL()

MDataSource *NewSourceL()[static]

SetSourceDataTypeCode(TFourCC, TMediaId)

TInt SetSourceDataTypeCode(TFourCC,
TMediaId
)

Parameters

TFourCC
TMediaId

SetSourcePrioritySettings(const TMMFPrioritySettings &)

voidSetSourcePrioritySettings(const TMMFPrioritySettings &)

Parameters

const TMMFPrioritySettings &

SourceCustomCommand(TMMFMessage &)

voidSourceCustomCommand(TMMFMessage &aMessage)

Parameters

TMMFMessage & aMessage

SourceDataTypeCode(TMediaId)

TFourCC SourceDataTypeCode(TMediaIdaMediaId)

Parameters

TMediaId aMediaId

SourcePauseL()

voidSourcePauseL()

SourcePlayL()

voidSourcePlayL()

SourcePrimeL()

voidSourcePrimeL()

SourceSampleConvert()

TBool SourceSampleConvert()

SourceStopL()

voidSourceStopL()

SourceThreadLogoff()

voidSourceThreadLogoff()

SourceThreadLogon(MAsyncEventHandler &)

TInt SourceThreadLogon(MAsyncEventHandler &)

Parameters

MAsyncEventHandler &

Url()

const TDesC &Url()const [inline]

Returns the URL string.

For example:
	http://www.symbian.com/clip/mpg
Since
7.0s

UseIAPId()

TBool UseIAPId()const [inline]

Indicates whether the IAP ID should be used.

Since
7.0s

Member Data Documentation

TInt iIAPId

TInt iIAPId[private]

HBufC * iUrl

HBufC *iUrl[private]

TBool iUseIAPId

TBool iUseIAPId[private]