How to query a feature using RFeatureControl dynamically.
To query whether a feature is supported using RFeatureControl dynamically, take the following steps.
FeatureSupported() returns:
KFeatureSupported if the feature is supported,
KFeatureUnsupported if the feature is not supported,
KErrNotFound if the feature does not exist,
KErrNotReady if the feature is uninitialised, and
otherwise returns an error code.
RFeatureControl has a deprecated function Connect() which should no longer be used as it has been replaced by the function Open().
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.