CMMFUrlSink Class Reference

#include <mmf/server/mmfurl.h>

Link against: mediaclientaudio.lib

class CMMFUrlSink : public CBase

Inherits from

  • CMMFUrlSink

    Detailed Description

    Concrete implementation of a URL data sink.

    This class is used only to pass information regarding the URL and IAP into the controller plugin. IT CANNOT BE USED TO WRITE DATA TO A URL. Each of the MDataSink 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

    ~CMMFUrlSink ( )

    ~CMMFUrlSink()[virtual]

    Member Function Documentation

    BufferFilledL ( CMMFBuffer * )

    voidBufferFilledL(CMMFBuffer *aBuffer)

    CanCreateSinkBuffer ( )

    TBool CanCreateSinkBuffer()

    CreateSinkBufferL ( TMediaId, TBool & )

    CMMFBuffer *CreateSinkBufferL(TMediaId,
    TBool &aReference
    )

    EmptyBufferL ( CMMFBuffer *, MDataSource *, TMediaId )

    voidEmptyBufferL(CMMFBuffer *aBuffer,
    MDataSource *aSupplier,
    TMediaId
    )

    IAPId ( )

    TInt IAPId()const [inline]

    Returns the Internet Access Point ID.

    Since
    7.0s

    Returns: The IAP ID.

    NegotiateL ( MDataSource & )

    voidNegotiateL(MDataSource &)

    NewSinkL ( )

    MDataSink *NewSinkL()[static]

    SetSinkDataTypeCode ( TFourCC, TMediaId )

    TInt SetSinkDataTypeCode(TFourCC,
    TMediaId
    )

    SetSinkPrioritySettings ( const TMMFPrioritySettings & )

    voidSetSinkPrioritySettings(const TMMFPrioritySettings &)

    SinkCustomCommand ( TMMFMessage & )

    voidSinkCustomCommand(TMMFMessage &aMessage)

    SinkDataTypeCode ( TMediaId )

    TFourCC SinkDataTypeCode(TMediaId)

    SinkPauseL ( )

    voidSinkPauseL()

    SinkPlayL ( )

    voidSinkPlayL()

    SinkPrimeL ( )

    voidSinkPrimeL()

    SinkStopL ( )

    voidSinkStopL()

    SinkThreadLogoff ( )

    voidSinkThreadLogoff()

    SinkThreadLogon ( MAsyncEventHandler & )

    TInt SinkThreadLogon(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 IAP ID should be used. ETrue if the supplied ID should be used, EFalse if the default IAP ID should be used.