{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Deinitialize");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (false == vc_widget_client_is_valid(vc_w)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] NOT initialized");
SLOG(LOG_DEBUG, TAG_VCW, "@@@");
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Prepare");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Unprepare");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Enable asr result");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Foreach Supported Language");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == callback) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
SLOG(LOG_DEBUG, TAG_VCW, "@@@");
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Get Current Language");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == language) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
SLOG(LOG_DEBUG, TAG_VCW, "@@@");
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Get State");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Get Service State");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == state) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Set foreground state");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not valid");
{
SLOG(LOG_DEBUG, TAG_VCW, "@@@ [Widget] Cancel Recognition");
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] A handle is not available");
int vc_widget_set_result_cb(vc_h vc_w, vc_result_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_result_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_set_show_tooltip_cb(vc_h vc_w, vc_widget_show_tooltip_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_show_tooltip_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_set_send_current_command_list_cb(vc_h vc_w, vc_widget_send_current_command_list_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_send_current_command_list_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_set_service_state_changed_cb(vc_h vc_w, vc_service_state_changed_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_service_state_changed_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_set_state_changed_cb(vc_h vc_w, vc_state_changed_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_state_changed_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_set_asr_result_cb(vc_h vc_w, vc_asr_result_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_asr_result_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_set_current_language_changed_cb(vc_h vc_w, vc_current_language_changed_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_current_language_changed_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_set_error_cb(vc_h vc_w, vc_error_cb callback, void* user_data)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_error_cb(vc_h vc_w)
{
+ if (0 != __vc_widget_get_feature_enabled()) {
+ SLOG(LOG_INFO, TAG_VCW, "@@@ [Widget] not supported");
+ return VC_ERROR_NONE;
+ }
+
if (NULL == vc_w) {
SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
return VC_ERROR_INVALID_PARAMETER;