Hello,

Under the C++ API,
The OCPersistentStorage is taking in 5 function pointers,
The functions are open, read, write, close, and unlink.
specified here 
(https://api-docs.iotivity.org/latest/struct_o_c_persistent_storage.html)
While under Android API,
There is only a single String to specify the SVR Database,
specified here 
(https://api-docs.iotivity.org/latest-java/org/iotivity/base/PlatformConfig.html)

It would make a lot of sense to implement the Android API to take in multiple 
functions (or interfaces) so that we can read in the SVR Database from 
different sources (database, memory, etc).

Is there a reason why the Android API is implement to take in a single String?

Thank you,

Jimmy C.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160608/4e78db1a/attachment.html>

Reply via email to