1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/webrtc/signaling/src/sipcc/include/ccapi_feature_info.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,67 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef _CCAPIAPI_FEATURE_INFO_H_ 1.9 +#define _CCAPIAPI_FEATURE_INFO_H_ 1.10 + 1.11 +#include "ccapi_types.h" 1.12 + 1.13 + 1.14 +/** 1.15 + * Get the physical button number on which this feature is configured 1.16 + * @param feature - feature reference handle 1.17 + * @return cc_int32_t - button assgn to the feature 1.18 + */ 1.19 +cc_int32_t CCAPI_featureInfo_getButton(cc_featureinfo_ref_t feature); 1.20 + 1.21 +/** 1.22 + * Get the featureID 1.23 + * @param feature - feature reference handle 1.24 + * @return cc_int32_t - button assgn to the feature 1.25 + */ 1.26 +cc_int32_t CCAPI_featureInfo_getFeatureID(cc_featureinfo_ref_t feature); 1.27 +/** 1.28 + * Get the feature Name 1.29 + * @param feature - feature reference handle 1.30 + * @return cc_string_t - handle of the feature created 1.31 + */ 1.32 +cc_string_t CCAPI_featureInfo_getDisplayName(cc_featureinfo_ref_t feature); 1.33 + 1.34 +/** 1.35 + * Get the speeddial Number 1.36 + * @param feature - feature reference handle 1.37 + * @return cc_string_t - handle of the feature created 1.38 + */ 1.39 +cc_string_t CCAPI_featureInfo_getSpeedDialNumber(cc_featureinfo_ref_t feature); 1.40 + 1.41 +/** 1.42 + * Get the contact 1.43 + * @param feature - feature reference handle 1.44 + * @return cc_string_t - handle of the feature created 1.45 + */ 1.46 +cc_string_t CCAPI_featureInfo_getContact(cc_featureinfo_ref_t feature); 1.47 + 1.48 +/** 1.49 + * Get the retrieval prefix 1.50 + * @param feature - feature reference handle 1.51 + * @return cc_string_t - handle of the feature created 1.52 + */ 1.53 +cc_string_t CCAPI_featureInfo_getRetrievalPrefix(cc_featureinfo_ref_t feature); 1.54 + 1.55 +/** 1.56 + * Get BLF state 1.57 + * @param feature - feature reference handle 1.58 + * @return cc_string_t - handle of the feature created 1.59 + */ 1.60 +cc_blf_state_t CCAPI_featureInfo_getBLFState(cc_featureinfo_ref_t feature); 1.61 + 1.62 +/** 1.63 + * Get the feature option mask 1.64 + * @param feature - feature reference handle 1.65 + * @return cc_int32_t - button assgn to the feature 1.66 + */ 1.67 +cc_int32_t CCAPI_featureInfo_getFeatureOptionMask(cc_featureinfo_ref_t feature); 1.68 + 1.69 + 1.70 +#endif /* _CCAPIAPI_FEATURE_INFO_H_ */