question

SamoSimoni-6501 avatar image
0 Votes"
SamoSimoni-6501 asked RobCaplan edited

Xamarin.ios NSObject parsing problem

I have the following NSObject:
{length = 14, bytes = 0xcc090332ffff34000d943edd4bf7d}


the value of length I get

var len= bluetoothObject.ValueForKey(new NSString("length"));

if I apply the same idea for property bytes I get NSUnknownKeyException expectation.

I do not know what is the problem in the case of bytes property. I will appreciate for help.



dotnet-xamarin
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The key for that object is not length , length = 14 just means that the bytes length is 14 , it's not the key , we can't access the object with this way .

0 Votes 0 ·

Can you explain how to do this in the proper way?

0 Votes 0 ·

Could you show more code and elaborate more about it?

0 Votes 0 ·

0 Answers