Integrated the version info of IoTivity
[platform/upstream/iotivity.git] / java / iotivity-linux / src / main / java / org / iotivity / base / OcPlatform.java
index b47587f..58807e9 100644 (file)
@@ -1225,4 +1225,9 @@ public final class OcPlatform {
      * Method to set DeviceId.
      */
     public static native void setDeviceId(byte[] deviceId) throws OcException;
+
+    /**
+     * Method to get the version of IoTivity.
+     */
+    public static native String getIoTivityVersion();
 }