replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / android / android_api / base / src / main / java / org / iotivity / base / OcResource.java
index f9cc04f..0ea863f 100644 (file)
@@ -574,6 +574,13 @@ public class OcResource {
     public native String getServerId();
 
     /**
+     * Method to get a string representation of the human friendly name defined by the vendor.
+     *
+     * @return human friendly name
+     */
+    public native String getDeviceName();
+
+    /**
      * An OnGetListener can be registered via the resource get call.
      * Event listeners are notified asynchronously
      */