TMediaId Class Reference

class TMediaId

Identifies the particular stream of the given media type.

Constructor & Destructor Documentation

TMediaId(TUid, TUint)

TMediaId ( TUid aMediaType,
TUint aStreamId
) [inline]

Constructs the class with the supplied arguments.

This constructor is used when there are multiple streams of the same media type on the same MDataSource .

Parameters

TUid aMediaType The media type (video, audio etc.).
TUint aStreamId Identifies a specific stream when there are multiple streams of the same media type on the same MDataSource.

TMediaId(TUid)

TMediaId ( TUid aMediaType ) [inline]

Constructs the class with the supplied argument.

This constructor is used when there is a single stream of the same media type on the same MDataSource .

Parameters

TUid aMediaType The media type (video, audio etc.).

TMediaId()

TMediaId ( ) [inline]

Default constructor.

Member Data Documentation

TUid iMediaType

TUid iMediaType

The media type (KUidMediaTypeAudio, KUidMediaTypeVideo, etc).

TInt iReserved1

TInt iReserved1 [private]

This member is internal and not intended for use.

TInt iReserved2

TInt iReserved2 [private]

TInt iReserved3

TInt iReserved3 [private]

TUint iStreamId

TUint iStreamId

Identifies a particular media stream used in case where multiple streams of the same media type are present on the same MDataSource .