#include <featdiscovery.h>
Link against: featdiscovery.lib
class CFeatureDiscovery : public CBase |
Public Member Functions | |
---|---|
virtual | ~CFeatureDiscovery() |
IMPORT_C TInt | FeaturesSupported(TFeatureSet &) |
IMPORT_C void | FeaturesSupportedL(TFeatureSet &) |
IMPORT_C TBool | IsFeatureSupportedL(TInt) |
IMPORT_C TBool | IsFeatureSupportedL(TUid) |
IMPORT_C TBool | IsSupported(TInt) |
IMPORT_C TBool | IsSupported(TUid) |
IMPORT_C CFeatureDiscovery * | NewL() |
IMPORT_C CFeatureDiscovery * | NewLC() |
The feature discovery API provides methods which are used to query which features are supported in the environment.
IMPORT_C TInt | FeaturesSupported | ( | TFeatureSet & | aFeatures | ) | const |
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 | |
---|---|
aFeatures | is the wrapper class for feature array queried. |
IMPORT_C void | FeaturesSupportedL | ( | TFeatureSet & | aFeatures | ) | [static] |
Static method to query the supported status of a set of features on the device.
Parameters | |
---|---|
aFeatures | is the wrapper class for feature array queried. |
Leave Codes | |
---|---|
Any | One of the Symbian OS system-wide error codes |
Static method to query the supported status of a feature on the device.
DeprecatedUse IsFeatureSupportedL(TUid aFeature) instead.
Parameters | |
---|---|
aFeature | is the feature ID of the feature that is queried. |
Leave Codes | |
---|---|
Any | One of the Symbian OS system-wide error codes |
Static method to query the supported status of a feature on the device.
Parameters | |
---|---|
aFeature | is the feature UID of the feature that is queried. |
Leave Codes | |
---|---|
Any | One of the Symbian OS system-wide error codes |
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.
DeprecatedUse IsSupported(TUid aFeature) instead.
Parameters | |
---|---|
aFeature | is the feature ID of the feature that is queried. |
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 | |
---|---|
aFeature | is the feature UID of the feature that is queried. |
IMPORT_C CFeatureDiscovery * | NewL | ( | ) | [static] |
This is a two-phase constructor method that is used to create a new instance of the CFeatureDiscovery class.
Leave Codes | |
---|---|
Any | One of the Symbian OS system-wide error codes |
IMPORT_C CFeatureDiscovery * | NewLC | ( | ) | [static] |
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 Codes | |
---|---|
Any | One of the Symbian OS system-wide error codes |