MMmfGlobalAudioImpl Class Reference
class MMmfGlobalAudioImpl
|
Public Member Functions
|
void
|
Release
()
|
Member Functions Documentation
Capability(TBool)
TUint
|
Capability
|
(
|
TBool
|
aCurrentOnly
|
)
|
[protected, pure virtual]
|
CompleteConstructL(CMmfGlobalAudioEffect *, MMmfGlobalAudioEffectObserver *)
CreateCustomInterface(TUid)
TInt
|
CreateCustomInterface
|
(
|
TUid
|
aInterfaceUid
|
)
|
[protected, pure virtual]
|
Request extension feature. This is intended to provide additional features, should a particular global effect need it. In typical use, the global effect will make a call to this interface on construction. Repeatedly calling this interface will have no additional effect - if the interface has already been setup internally, then no further activity will take place.
Parameters
TUid
aInterfaceUid
|
Used to indicate which interface is required.
|
CustomInterface(TUid)
TAny
*
|
CustomInterface
|
(
|
TUid
|
aInterfaceUid
|
)
|
[protected, pure virtual]
|
Return previously created extension. This returns a custom interface, used to provide additional features for a certain global effect. This should only be used if
CreateCustomInterface()
has already been called for the same UID value. This means that any construction for that interface has already been called, and thus this call cannot fail. Typically the returned class will be another Mixin.No transfer of ownership is implied.
CreateCustomInterface()
Parameters
TUid
aInterfaceUid
|
Used to indicate which interface is required.
|
ExtractValuesL(TDes8 &)
void
|
ExtractValuesL
|
(
|
TDes8
&
|
aPackageBuf
|
)
|
[protected, pure virtual]
|
Provide implementation of
CMmfGlobalAudioEffect::ExtractValuesL()
Extract the settings into a struct Note that the implementation should check the size of the supplied package buffer, to check it is as expected.
-
leave
-
KErrNotSupported This will only be supported by some child classes, and even then will not be supported by all implementations.
-
leave
-
KErrArgument Passed package buffer is not the expected size.
CMmfGlobalAudioEffect::ExtractValuesL()
Parameters
TDes8
& aPackageBuf
|
This should be a package buffer wrapping the appropriate class/struct, and will be specific to a particular CMmfGlobalAudioEffect derivitive.
|
IsActive()
TBool
|
IsActive
|
(
|
)
|
const [protected, pure virtual]
|
IsEnabled()
TBool
|
IsEnabled
|
(
|
)
|
const [protected, pure virtual]
|
NewL(TUid, CMmfGlobalAudioEffect *, MMmfGlobalAudioEffectObserver *)
PassDestructorKey(TUid)
void
|
PassDestructorKey
|
(
|
TUid
|
aDestructorKey
|
)
|
[protected, pure virtual]
|
Parameters
TUid
aDestructorKey
|
The Uid returned by REComSession::CreateImplementationL() or similar
|
Release()
void
|
Release
|
(
|
)
|
[pure virtual]
|
Release object. Equivalent of destructor - called to request data to be deleted.
RequestNotificationL(TUid)
void
|
RequestNotificationL
|
(
|
TUid
|
aEventUid
|
)
|
[protected, pure virtual]
|
Parameters
TUid
aEventUid
|
Uid specifying event for which notification is requested
|
SetByValuesL(const TDesC8 &)
void
|
SetByValuesL
|
(
|
const
TDesC8
&
|
aPackageBuf
|
)
|
[protected, pure virtual]
|
Provide implementation of
CMmfGlobalAudioEffect::SetByValuesL()
. Note that the implementation should check the size of the supplied package buffer, to check it is as expected.
-
leave
-
KErrNotSupported This will only be supported by some child classes, and even then will not be supported by all implementations.
-
leave
-
KErrArgument Passed package buffer is not the expected size, or individual values are out of range
CMmfGlobalAudioEffect::SetByValuesL()
Parameters
const
TDesC8
& aPackageBuf
|
This should be a package buffer wrapping the appropriate class/struct, and will be specific to a particular CMmfGlobalAudioEffect derivitive.
|
SetEnabledL(TBool)
void
|
SetEnabledL
|
(
|
TBool
|
aValue
|
)
|
[protected, pure virtual]
|
Parameters
TBool
aValue
|
If true, enables this specific effect. If false, disables it.
|
SetSettingsByDesL(const TDesC8 &)
void
|
SetSettingsByDesL
|
(
|
const
TDesC8
&
|
aParam
|
)
|
[protected, pure virtual]
|
Parameters
const
TDesC8
& aParam
|
Descriptor value to use
|
SetSettingsByUidL(TUid)
void
|
SetSettingsByUidL
|
(
|
TUid
|
aPresetUid
|
)
|
[protected, pure virtual]
|
Parameters
TUid
aPresetUid
|
Uid representing the preset in question
|
SettingsByDesL()
HBufC8
*
|
SettingsByDesL
|
(
|
)
|
const [protected, pure virtual]
|
SettingsByUidL()
TUid
|
SettingsByUidL
|
(
|
)
|
const [protected, pure virtual]
|
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.