Hello,
I just can't find the issue with this code, it's mostly identical to the examples in the documentation. I get the following error:
Error: Invalid Value
Details: Failed invoking <symbol>
Code:
Hello,
I just can't find the issue with this code, it's mostly identical to the examples in the documentation. I get the following error:
Error: Invalid Value
Details: Failed invoking <symbol>
Code:
I've seen many errors with bad information of line.
I was using class
Try again with an instance. I do something similar, but with an instance.
This is the correct answer. It works as a class instance. Reading the documentation, it makes sense:
However, using the method() function inherited from Toybox.Lang.Object, a class instance can create a Method object, which provides a way to invoke it as a callback method.