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 *)

void BufferEmptiedL ( CMMFBuffer * aBuffer )

Parameters

CMMFBuffer * aBuffer

CanCreateSourceBuffer()

TBool CanCreateSourceBuffer ( )

ConstructSourceL(const TDesC8 &)

void ConstructSourceL ( 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 ( TMediaId aMediaId,
CMMFBuffer & ,
TBool & aReference
)

Parameters

TMediaId aMediaId
CMMFBuffer &
TBool & aReference

FillBufferL(CMMFBuffer *, MDataSink *, TMediaId)

void FillBufferL ( 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 &)

void NegotiateSourceL ( MDataSink & )

Parameters

MDataSink &

NewSourceL()

MDataSource * NewSourceL ( ) [static]

SetSourceDataTypeCode(TFourCC, TMediaId)

TInt SetSourceDataTypeCode ( TFourCC ,
TMediaId
)

SetSourcePrioritySettings(const TMMFPrioritySettings &)

void SetSourcePrioritySettings ( const TMMFPrioritySettings & )

Parameters

const TMMFPrioritySettings &

SourceCustomCommand(TMMFMessage &)

void SourceCustomCommand ( TMMFMessage & aMessage )

Parameters

TMMFMessage & aMessage

SourceDataTypeCode(TMediaId)

TFourCC SourceDataTypeCode ( TMediaId aMediaId )

Parameters

TMediaId aMediaId

SourcePauseL()

void SourcePauseL ( )

SourcePlayL()

void SourcePlayL ( )

SourcePrimeL()

void SourcePrimeL ( )

SourceSampleConvert()

TBool SourceSampleConvert ( )

SourceStopL()

void SourceStopL ( )

SourceThreadLogoff()

void SourceThreadLogoff ( )

SourceThreadLogon(MAsyncEventHandler &)

TInt SourceThreadLogon ( 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]