Imported Upstream version 1.0.1
[platform/upstream/iotivity.git] / android / android_api / base / src / main / java / org / iotivity / base / OcResource.java
index 333c5b2..bb22465 100644 (file)
@@ -411,7 +411,9 @@ public class OcResource {
      *
      * @throws OcException
      */
-    public native void cancelObserve() throws OcException;
+    public void cancelObserve() throws OcException{
+        this.cancelObserve(OcPlatform.getPlatformQualityOfService());
+    }
 
     /**
      * Method to cancel the observation on the resource