int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/network.wifi");
+
ret = runtime_info_vconf_get_value_int(VCONF_WIFI_STATUS, &vconf_value);
if (ret != RUNTIME_INFO_ERROR_NONE)
return ret;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/network.bluetooth");
+
ret = runtime_info_vconf_get_value_int(VCONF_BT_ENABLED, &vconf_value);
if (ret != RUNTIME_INFO_ERROR_NONE)
return ret;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/location.gps");
+
ret = runtime_info_vconf_get_value_int(VCONF_GPS_STATUS, &vconf_value);
if (ret != RUNTIME_INFO_ERROR_NONE)
return ret;
LOGW("DEPRECATION WARNING: RUNTIME_INFO_KEY_LOCATION_SERVICE_ENABLED is deprecated and will be removed from next release.");
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/location");
+
ret = runtime_info_vconf_get_value_int(VCONF_LOCATION_SERVICE_ENABLED, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = vconf_value;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/screen.auto_rotation");
+
ret = runtime_info_vconf_get_value_bool(VCONF_ROTATION_LOCK_ENABLED, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = (bool)vconf_value;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/battery");
+
ret = runtime_info_vconf_get_value_int(VCONF_BATTERY_CHARGING, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = vconf_value;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/battery");
+
ret = runtime_info_vconf_get_value_int(VCONF_CHARGER_CONNECTED, &vconf_value);
if (ret != RUNTIME_INFO_ERROR_NONE)
return ret;