CMMFUrlSource Class Reference

#include <mmf/server/mmfurl.h>

Link against: mediaclientaudio.lib

class CMMFUrlSource : public CBase

Inherits from

  • CMMFUrlSource

    Detailed Description

    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.

    See also: CMMFUrlParams

    Constructor & Destructor Documentation

    ~CMMFUrlSource ( )

    ~CMMFUrlSource()[virtual]

    Destructor.

    Member Function Documentation

    BufferEmptiedL ( CMMFBuffer * )

    voidBufferEmptiedL(CMMFBuffer *aBuffer)

    CanCreateSourceBuffer ( )

    TBool CanCreateSourceBuffer()

    CreateSourceBufferL ( TMediaId, TBool & )

    CMMFBuffer *CreateSourceBufferL(TMediaId,
    TBool &aReference
    )

    CreateSourceBufferL ( TMediaId, CMMFBuffer &, TBool & )

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

    FillBufferL ( CMMFBuffer *, MDataSink *, TMediaId )

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

    IAPId ( )

    TInt IAPId()const [inline]

    Returns the Internet Access Point ID.

    Since
    7.0s

    Returns: The IAP ID.

    NegotiateSourceL ( MDataSink & )

    voidNegotiateSourceL(MDataSink &)

    NewSourceL ( )

    MDataSource *NewSourceL()[static]

    SetSourceDataTypeCode ( TFourCC, TMediaId )

    TInt SetSourceDataTypeCode(TFourCC,
    TMediaId
    )

    SetSourcePrioritySettings ( const TMMFPrioritySettings & )

    voidSetSourcePrioritySettings(const TMMFPrioritySettings &)

    SourceCustomCommand ( TMMFMessage & )

    voidSourceCustomCommand(TMMFMessage &aMessage)

    SourceDataTypeCode ( TMediaId )

    TFourCC SourceDataTypeCode(TMediaIdaMediaId)

    SourcePauseL ( )

    voidSourcePauseL()

    SourcePlayL ( )

    voidSourcePlayL()

    SourcePrimeL ( )

    voidSourcePrimeL()

    SourceSampleConvert ( )

    TBool SourceSampleConvert()

    SourceStopL ( )

    voidSourceStopL()

    SourceThreadLogoff ( )

    voidSourceThreadLogoff()

    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

    Returns: The URL string.

    UseIAPId ( )

    TBool UseIAPId()const [inline]

    Indicates whether the IAP ID should be used.

    Since
    7.0s

    Returns: A boolean indicating if the supplied IAPId should be used. ETrue if the supplied IAPId should be used. EFalse if the default IAPId should be used.