Imported Upstream version 0.9.2
[platform/upstream/iotivity.git] / android / android_api / base / jni / JniOcRepresentation.cpp
index e2c2cd0..c143069 100644 (file)
@@ -722,22 +722,6 @@ JNIEXPORT void JNICALL Java_org_iotivity_base_OcRepresentation_setValueRepresent
 \r
 /*\r
 * Class:     org_iotivity_base_OcRepresentation\r
-* Method:    getJSONRepresentation\r
-* Signature: ()Ljava/lang/String;\r
-*/\r
-JNIEXPORT jstring JNICALL Java_org_iotivity_base_OcRepresentation_getJSONRepresentation\r
-(JNIEnv *env, jobject thiz)\r
-{\r
-    LOGD("OcRepresentation_getJSONRepresentation");\r
-    OCRepresentation *rep = JniOcRepresentation::getOCRepresentationPtr(env, thiz);\r
-    if (!rep) return nullptr;\r
-\r
-    std::string jsonStr = rep->getJSONRepresentation();\r
-    return env->NewStringUTF(jsonStr.c_str());\r
-}\r
-\r
-/*\r
-* Class:     org_iotivity_base_OcRepresentation\r
 * Method:    addChild\r
 * Signature: (Lorg/iotivity/base/OcRepresentation;)V\r
 */\r
@@ -1037,4 +1021,4 @@ JNIEXPORT void JNICALL Java_org_iotivity_base_OcRepresentation_dispose
     {\r
         delete rep;\r
     }\r
-}
\ No newline at end of file
+}\r