I have noticed that when using subscribe(location, “mode”, modeChangeHandler) it is sometimes hard to unsubscribe.
This subscribe format is in the documentation here
under “Mode Events”, but does not match any of the subscribe signatures documented here:
Can we use the signature (Location location, String attributeNameAndValue, handlerMethod)? If so why isn’t it documented and why is it sometimes hard to unsubscribe?
Related question. Is the new mode id contained anywhere in the Event that is triggered? I can only find the mode name, in the value attribute.