CMPSettingsModel Class Reference

class CMPSettingsModel : public CBase

CMPSettingsModel Common API for MMF specific settings models.

MPSettEngine.dll
Since
2.0

Inherits from

Public Member Functions
~CMPSettingsModel ()
TInt AutoDisconTimeL ()
TInt GetBandwidthControlMode ( TInt &)
TInt GetConnectionTimeout ( TInt &)
TInt GetControllerAdditionalInfo ( TDes &)
TInt GetControllerBuildDate ( TDes &)
TInt GetControllerVersionInfo ( TDes &)
TInt GetDefaultAp ( TUint32 &)
TInt GetDemandBwFactor ( TInt &)
TInt GetMaxBandwidth ( TInt &, TDataBearer )
TInt GetMaxBwPresetsL ( RArray < TInt > &, TDataBearer )
TInt GetMaxUDPPort ( TInt &)
TInt GetMinUDPPort ( TInt &)
TInt GetProxyHostName ( TDes &)
TInt GetProxyMode ( TInt &)
TInt GetProxyPort ( TInt &)
TInt GetServerTimeout ( TInt &)
TInt GetSustainBandwidth ( TInt &, TDataBearer )
TInt GetSustainBwPresetsL ( RArray < TInt > &, TDataBearer )
TInt GetVideoContrast ( TInt &)
TBool IsDefaultViewOnL ()
TBool IsRockerKeysSupportedL ()
TBool IsVideoRepeatOnL ()
IMPORT_C void ListImplementationsL ( RImplInfoPtrArray &)
void LoadSettingsL ( TInt )
IMPORT_C CMPSettingsModel * NewL ( TUid )
void SetAutoDisconTimeL (const TInt )
TInt SetBandwidthControlMode ( TInt )
TInt SetConnectionTimeout ( TInt )
TInt SetDefaultAp ( TUint32 )
void SetDefaultViewL (const TBool )
TInt SetDemandBwFactor ( TInt )
TInt SetMaxBandwidth ( TInt , TDataBearer )
TInt SetMaxUDPPort ( TInt )
TInt SetMinUDPPort ( TInt )
TInt SetProxyHostNameL (const TDesC &)
TInt SetProxyMode ( TInt )
TInt SetProxyPort ( TInt )
void SetRockerKeysL (const TBool )
TInt SetServerTimeout ( TInt )
TInt SetSustainBandwidth ( TInt , TDataBearer )
TInt SetVideoContrast ( TInt )
void SetVideoRepeatL (const TBool )
TBool ShowRockerKeysL ()
void StoreSettingsL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Protected Attributes
TUid iDtor_ID_Key

Constructor & Destructor Documentation

~CMPSettingsModel()

IMPORT_C ~CMPSettingsModel ( ) [virtual]

Destructor.

Member Functions Documentation

AutoDisconTimeL()

TInt AutoDisconTimeL ( ) [pure virtual]
Returns Media Player auto disconnection time.
Since
2.0

GetBandwidthControlMode(TInt &)

TInt GetBandwidthControlMode ( TInt & aMode ) [pure virtual]
Returns bandwidth control mode.
Since
2.0

Parameters

TInt & aMode bandwidth control mode: 0: Use dynamic bw control if possible 1: Use static bw control

GetConnectionTimeout(TInt &)

TInt GetConnectionTimeout ( TInt & aTimeout ) [pure virtual]
Returns connection timeout.
Since
2.0

Parameters

TInt & aTimeout Timeout in minutes.

GetControllerAdditionalInfo(TDes &)

TInt GetControllerAdditionalInfo ( TDes & aAdditionalInfo ) [pure virtual]
Provides additional information about MMF controller.
Since
2.0

Parameters

TDes & aAdditionalInfo Additional controller information.

GetControllerBuildDate(TDes &)

TInt GetControllerBuildDate ( TDes & aBldDate ) [pure virtual]
Provides MMF controller's build date.
Since
2.0

Parameters

TDes & aBldDate Controller build date.

GetControllerVersionInfo(TDes &)

TInt GetControllerVersionInfo ( TDes & aVersion ) [pure virtual]
Provides MMF controller version information.
Since
2.0

Parameters

TDes & aVersion Controller version number.

GetDefaultAp(TUint32 &)

TInt GetDefaultAp ( TUint32 & aApId ) [pure virtual]
Returns default access point ID.
Since
2.0

Parameters

TUint32 & aApId Access point ID.

GetDemandBwFactor(TInt &)

TInt GetDemandBwFactor ( TInt & aFactor ) [pure virtual]
Returns demand factor bandwidth.
Since
2.1

Parameters

TInt & aFactor Demand bandwidth factor.

GetMaxBandwidth(TInt &, TDataBearer)

TInt GetMaxBandwidth ( TInt & aMaxBw,
TDataBearer aBearer
) [pure virtual]
Returns maximum bandwidth.
Since
2.1

Parameters

TInt & aMaxBw Maximum bandwidth.
TDataBearer aBearer Bearer, which max bw is enquired.

GetMaxBwPresetsL(RArray< TInt > &, TDataBearer)

TInt GetMaxBwPresetsL ( RArray < TInt > & aBwArray,
TDataBearer aBearer
) [pure virtual]
Returns an array of the fixed max bandwidth values.
Since
2.1

Parameters

RArray < TInt > & aBwArray Fixed max bandwidth values are copied to this array.
TDataBearer aBearer Bearer, which fixed max bw values is enquired.

GetMaxUDPPort(TInt &)

TInt GetMaxUDPPort ( TInt & aPort ) [pure virtual]
Returns maximum UDP port number.
Since
2.0

Parameters

TInt & aPort maximum UDP port number in minutes.

GetMinUDPPort(TInt &)

TInt GetMinUDPPort ( TInt & aPort ) [pure virtual]
Returns minimum UDP port number.
Since
2.0

Parameters

TInt & aPort minimum UDP port number in minutes.

GetProxyHostName(TDes &)

TInt GetProxyHostName ( TDes & aHostName ) [pure virtual]
Returns proxy host name.
Since
2.0

Parameters

TDes & aHostName Proxy host name.

GetProxyMode(TInt &)

TInt GetProxyMode ( TInt & aMode ) [pure virtual]
Returns proxy mode.
Since
2.0

Parameters

TInt & aMode Proxy mode: 0: Disabled 1: Enabled

GetProxyPort(TInt &)

TInt GetProxyPort ( TInt & aPort ) [pure virtual]
Returns proxy port number..
Since
2.0

Parameters

TInt & aPort

GetServerTimeout(TInt &)

TInt GetServerTimeout ( TInt & aTimeout ) [pure virtual]
Returns server timeout.
Since
2.0

Parameters

TInt & aTimeout Timeout in minutes.

GetSustainBandwidth(TInt &, TDataBearer)

TInt GetSustainBandwidth ( TInt & aSustainBw,
TDataBearer aBearer
) [pure virtual]
Returns sustainable bandwidth.
Since
2.1

Parameters

TInt & aSustainBw Sustainable bandwidth.
TDataBearer aBearer Bearer, which sustain bw is enquired.

GetSustainBwPresetsL(RArray< TInt > &, TDataBearer)

TInt GetSustainBwPresetsL ( RArray < TInt > & aBwArray,
TDataBearer aBearer
) [pure virtual]
Returns an array of the fixed sustainable bandwidth values.
Since
2.1

Parameters

RArray < TInt > & aBwArray Fixed sustain bandwidth values are copied to this array.
TDataBearer aBearer Bearer, which fixed sustain bw values is enquired.

GetVideoContrast(TInt &)

TInt GetVideoContrast ( TInt & aContrast ) [pure virtual]
Returns video contrast level.
Since
2.0

Parameters

TInt & aContrast Contrast level: 0: Minimum contrast 20: 20% of maximum 40: 40% of maximum 60: 60% of maximum 80: 80% of maximum 100: Maximum contrast

IsDefaultViewOnL()

TBool IsDefaultViewOnL ( ) [pure virtual]
Returns video view mode.
Since
3.2

IsRockerKeysSupportedL()

TBool IsRockerKeysSupportedL ( ) [pure virtual]
Returns if Rocker Keys Feature is supported
Since
3.2

IsVideoRepeatOnL()

TBool IsVideoRepeatOnL ( ) [pure virtual]
Returns video repeat mode.
Since
2.0

ListImplementationsL(RImplInfoPtrArray &)

IMPORT_C void ListImplementationsL ( RImplInfoPtrArray & aImplInfoArray ) [static]
Provides an implementation information array.
Since
2.1

Parameters

RImplInfoPtrArray & aImplInfoArray An array which is populated with the implementation information of the available implementations.

LoadSettingsL(TInt)

void LoadSettingsL ( TInt aConfigVersion ) [pure virtual]
Reads settings from MMF controller.
Since
2.0

Parameters

TInt aConfigVersion

NewL(TUid)

IMPORT_C CMPSettingsModel * NewL ( TUid aUid ) [static]

Constructor. Uses ECom to construct an instance of this class.

Parameters

TUid aUid Implementation uid of the object that is to be constructed.

SetAutoDisconTimeL(const TInt)

void SetAutoDisconTimeL ( const TInt aTime ) [pure virtual]
Sets Media Player auto disconnection time.
Since
2.0

Parameters

const TInt aTime Auto disconnection time.

SetBandwidthControlMode(TInt)

TInt SetBandwidthControlMode ( TInt aMode ) [pure virtual]
Sets bandwidth control mode.
Since
2.0

Parameters

TInt aMode bandwidth control mode.

SetConnectionTimeout(TInt)

TInt SetConnectionTimeout ( TInt aTimeout ) [pure virtual]
Sets connection timeout.
Since
2.0

Parameters

TInt aTimeout Timeout in minutes.

SetDefaultAp(TUint32)

TInt SetDefaultAp ( TUint32 aApId ) [pure virtual]
Sets default access point.
Since
2.0

Parameters

TUint32 aApId Access point ID.

SetDefaultViewL(const TBool)

void SetDefaultViewL ( const TBool aView ) [pure virtual]
Sets video view mode.
Since
3.2

Parameters

const TBool aView View mode.

SetDemandBwFactor(TInt)

TInt SetDemandBwFactor ( TInt aFactor ) [pure virtual]
Sets demand bandwidth factor.
Since
2.1

Parameters

TInt aFactor Demand bandwidth factor.

SetMaxBandwidth(TInt, TDataBearer)

TInt SetMaxBandwidth ( TInt aMaxBw,
TDataBearer aBearer
) [pure virtual]
Sets maximum bandwidth.
Since
2.1

Parameters

TInt aMaxBw Maximum bandwidth.
TDataBearer aBearer Bearer, which max bw is set.

SetMaxUDPPort(TInt)

TInt SetMaxUDPPort ( TInt aPort ) [pure virtual]
Sets maximum UDP port number.
Since
2.0

Parameters

TInt aPort maximum port number.

SetMinUDPPort(TInt)

TInt SetMinUDPPort ( TInt aPort ) [pure virtual]
Sets minimum UDP port number.
Since
2.0

Parameters

TInt aPort minimum port number.

SetProxyHostNameL(const TDesC &)

TInt SetProxyHostNameL ( const TDesC & aHostName ) [pure virtual]
Sets Proxy host name.
Since
2.0

Parameters

const TDesC & aHostName Proxy host name.

SetProxyMode(TInt)

TInt SetProxyMode ( TInt aMode ) [pure virtual]
Sets proxy mode..
Since
2.0

Parameters

TInt aMode Proxy mode.

SetProxyPort(TInt)

TInt SetProxyPort ( TInt aPort ) [pure virtual]
Sets proxy port number.
Since
2.0

Parameters

TInt aPort Proxy port number.

SetRockerKeysL(const TBool)

void SetRockerKeysL ( const TBool aRockerKeys ) [pure virtual]
Sets rocker keys mode.
Since
3.2

Parameters

const TBool aRockerKeys rocker keys mode.

SetServerTimeout(TInt)

TInt SetServerTimeout ( TInt aTimeout ) [pure virtual]
Sets server timout.
Since
2.0

Parameters

TInt aTimeout Timeout in minutes.

SetSustainBandwidth(TInt, TDataBearer)

TInt SetSustainBandwidth ( TInt aSustainBw,
TDataBearer aBearer
) [pure virtual]
Sets sustainable bandwidth.
Since
2.1

Parameters

TInt aSustainBw Sustainable bandwidth.
TDataBearer aBearer Bearer, which sustain bw is set.

SetVideoContrast(TInt)

TInt SetVideoContrast ( TInt aContrast ) [pure virtual]
Sets video contrast
Since
2.0

Parameters

TInt aContrast Contrast level

SetVideoRepeatL(const TBool)

void SetVideoRepeatL ( const TBool aRepeat ) [pure virtual]
Sets video repeat mode.
Since
2.0

Parameters

const TBool aRepeat Repeat mode.

ShowRockerKeysL()

TBool ShowRockerKeysL ( ) [pure virtual]
Returns Rocker Keys mode
Since
3.2

StoreSettingsL()

void StoreSettingsL ( ) [pure virtual]
Writes settings to MMF controller.
Since
2.0

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [protected]