CFeatureDiscovery Class Reference
class CFeatureDiscovery : public CBase
|
The feature discovery API provides methods which are used to query which features are supported in the environment.
Constructor & Destructor Documentation
CFeatureDiscovery()
CFeatureDiscovery
|
(
|
)
|
[private]
|
~CFeatureDiscovery()
~CFeatureDiscovery
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian OS constructor is private.
FeaturesSupported(TFeatureSet &)
Dynamic method to query the supported status of a set of features on the device. Before calling the method an instance of the
CFeatureDiscovery
class need to be created by using one of the factory methods,
NewL()
or
NewLC()
. The created instance must be deleted after use.
Parameters
TFeatureSet
& aFeatures
|
is the wrapper class for feature array queried.
|
FeaturesSupportedL(TFeatureSet &)
IMPORT_C void
|
FeaturesSupportedL
|
(
|
TFeatureSet
&
|
aFeatures
|
)
|
[static]
|
Static method to query the supported status of a set of features on the device.
-
leave
-
Any One of the Symbian OS system-wide error codes
Parameters
TFeatureSet
& aFeatures
|
is the wrapper class for feature array queried.
|
IsFeatureSupportedL(TInt)
IMPORT_C
TBool
|
IsFeatureSupportedL
|
(
|
TInt
|
aFeature
|
)
|
[static]
|
Static method to query the supported status of a feature on the device.
Use
IsFeatureSupportedL(TUid aFeature)
instead.
-
leave
-
Any One of the Symbian OS system-wide error codes
Parameters
TInt
aFeature
|
is the feature ID of the feature that is queried.
|
IsFeatureSupportedL(TUid)
IMPORT_C
TBool
|
IsFeatureSupportedL
|
(
|
TUid
|
aFeature
|
)
|
[static]
|
Static method to query the supported status of a feature on the device.
-
leave
-
Any One of the Symbian OS system-wide error codes
Parameters
TUid
aFeature
|
is the feature UID of the feature that is queried.
|
IsSupported(TInt)
IMPORT_C
TBool
|
IsSupported
|
(
|
TInt
|
aFeature
|
)
|
const
|
Dynamic method to query the supported status of a feature on the device. Before calling the method an instance of the
CFeatureDiscovery
class must be created by using one of the factory methods,
NewL()
or
NewLC()
. The created instance must be deleted after use.
Use IsSupported(TUid aFeature) instead.
Parameters
TInt
aFeature
|
is the feature ID of the feature that is queried.
|
IsSupported(TUid)
IMPORT_C
TBool
|
IsSupported
|
(
|
TUid
|
aFeature
|
)
|
const
|
Dynamic method to query the supported status of a feature on the device.
Before calling the method an instance of the
CFeatureDiscovery
class must be created by using one of the factory methods,
NewL()
or
NewLC()
. The created instance must be deleted after use.
Parameters
TUid
aFeature
|
is the feature UID of the feature that is queried.
|
NewL()
This is a two-phase constructor method that is used to create a new instance of the
CFeatureDiscovery
class.
-
leave
-
Any One of the Symbian OS system-wide error codes
NewLC()
This is a two-phase constructor method that is used to create a new instance of the
CFeatureDiscovery
class. This method leaves the instance of the object on the cleanup stack.
-
leave
-
Any One of the Symbian OS system-wide error codes
Member Data Documentation
CFeatureDiscoveryImpl * iImpl
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.