Feature discovery offers methods to query whether a feature is supported in the current environment.
example:
TBool isIRAvailable = CFeatureDiscovery::IsFeatureSupportedL( KFeatureIdIrda ); TBool isBTAvailable = CFeatureDiscovery::IsFeatureSupportedL( KFeatureIdBt );