I have an AllJoyn property like this
<property name="DeviceAddresses" type="ay" access="read">
I a Windows 10 UWP app when I try to read it - I get success - but I don't know how to get out the value from the result Code looks like this:
var vProperty = pInterface.GetProperty(propertyName);
if (vProperty == null) return null;
var result = await vProperty.ReadValueAsync();
if (result.Status.IsSuccess)
{
if (vProperty.TypeInfo.Type == TypeId.Uint8Array)
{
byte[] Erg = result.Value ???
}
}
The property value is created via
object o = Windows.Foundation.PropertyValue.CreateUInt8Array(value);
But I found no way (casting or so) the get the bytes out.