Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MmfUtilities.h>

Class TMediaId

class TMediaId;

Description

Identifies the particular stream of the given media type.

Members

Defined in TMediaId:


Construction and destruction


TMediaId(TUid,TUint)

inline TMediaId(TUid aMediaType, TUint aStreamId);

Description

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)

inline TMediaId(TUid aMediaType);

Description

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

inline TMediaId();

Description

Default constructor.

[Top]


Member data


iMediaType

TUid iMediaType;

Description

The media type (KUidMediaTypeAudio, KUidMediaTypeVideo, etc).


iStreamId

TUint iStreamId;

Description

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