I like to access readonly Device Identity [0] Properties like connectionState, lastActivityTime from module twin using Twin class [1]. Currently, it appears I have two choices
Call Twin.toJSON() method, and access .connectionState
Accessing directly with twin.connectionState is working for now, but not documented and may fail in future updates.
I like to check if those fields will be made available on Twin class.
I like to access readonly Device Identity [0] Properties like connectionState, lastActivityTime from module twin using
Twin
class [1]. Currently, it appears I have two choicesI like to check if those fields will be made available on Twin class.