CMPSettingsModel Class Reference
class CMPSettingsModel : public CBase
|
CMPSettingsModel
Common API for MMF specific settings models.
MPSettEngine.dll
-
Since
-
2.0
Constructor & Destructor Documentation
~CMPSettingsModel()
IMPORT_C
|
~CMPSettingsModel
|
(
|
)
|
[virtual]
|
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 &)
Returns default access point ID.
-
Since
-
2.0
GetDemandBwFactor(TInt &)
TInt
|
GetDemandBwFactor
|
(
|
TInt
&
|
aFactor
|
)
|
[pure virtual]
|
Returns demand factor bandwidth.
-
Since
-
2.1
Parameters
TInt
& aFactor
|
Demand bandwidth factor.
|
GetMaxBandwidth(TInt &, TDataBearer)
Returns maximum bandwidth.
-
Since
-
2.1
Parameters
TInt
& aMaxBw
|
Maximum bandwidth.
|
TDataBearer
aBearer
|
Bearer, which max bw is enquired.
|
GetMaxBwPresetsL(RArray< TInt > &, TDataBearer)
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
GetServerTimeout(TInt &)
TInt
|
GetServerTimeout
|
(
|
TInt
&
|
aTimeout
|
)
|
[pure virtual]
|
Returns server timeout.
-
Since
-
2.0
Parameters
TInt
& aTimeout
|
Timeout in minutes.
|
GetSustainBandwidth(TInt &, TDataBearer)
Returns sustainable bandwidth.
-
Since
-
2.1
Parameters
TInt
& aSustainBw
|
Sustainable bandwidth.
|
TDataBearer
aBearer
|
Bearer, which sustain bw is enquired.
|
GetSustainBwPresetsL(RArray< TInt > &, TDataBearer)
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 &)
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
NewL(TUid)
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)
Sets default access point.
-
Since
-
2.0
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)
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
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)
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]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.