Hi

A technical question about resource attributes.

Is there any way to get the list of the attributes obtained from a
resource, without knowing in advance the attributes' names?

I am using IoTivity Java API on Android.

My scenario:
1. Call to OcResource.get()
2. In the OcResource.OnGetListener callback, get the OcRepresentation object
3. Unfortunately, the OcRepresentation documentation
<https://api-docs.iotivity.org/latest-java/index.html>provides APIs to
retrieve attributes (keys) values per specific name - no iteration or
getAll().

Clearly, this option is not hidden by the OCF protocol itself (OCF
simulator client shows all the attributes without prior knowledge) - any
way to do it in IoTivity?

Thanks

Max.

Software Architect - Tekoia Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160831/d7827b30/attachment.html>

Reply via email to