CMPXParameter Class Reference

class CMPXParameter : public CBase
Usage:
  • To open a specific view, set iType to the view type.

  • To open a specific path, set iCollectionPath, music player will select the best matching view to display the result.

  • using iCollectionPath/iCollectionPlaylist + iType is supported, but not recommended since music player already selects the best matching view to display the result.

  • If the client wants the command to be processed by a specific music player instance they should set iCmdForward to a value defined by TMPXCmdFwdType. The default forwarding is to stand alone musicplayer (it'll be launched if it doesn't exist).

mpxcommon.lib

Inherits from

Constructor & Destructor Documentation

CMPXParameter()

IMPORT_C CMPXParameter ( )

C++ Constructor.

Since
S60 3.2.3

~CMPXParameter()

IMPORT_C ~CMPXParameter ( ) [virtual]

Destructor.

Since
S60 3.2.3

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Externalize a object of this class to steam.

Since
S60 3.2.3

Parameters

RWriteStream & aStream write stream

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Internalize a object of this class from steam.

Since
S60 3.2.3
leave
KErrNotSupported The collection path is not valid,

Parameters

RReadStream & aStream read stream

Member Data Documentation

TInt iCmdForward

TInt iCmdForward

CMPXCollectionPath * iCollectionPath

CMPXCollectionPath * iCollectionPath

TMPXPathType iPathType

TMPXPathType iPathType

TUid iType

TUid iType

TInt iVersion

TInt iVersion [private]