DisplayMirrorViewModel
class DisplayMirrorViewModel(displayMirrorManager: DisplayMirrorManager, connectionStateProvider: ConnectionStateProvider, nodeRepository: NodeRepository, adminController: AdminController, radioConfigRepository: RadioConfigRepository) : ViewModel(source)
Constructors
Link copied to clipboard
constructor(displayMirrorManager: DisplayMirrorManager, connectionStateProvider: ConnectionStateProvider, nodeRepository: NodeRepository, adminController: AdminController, radioConfigRepository: RadioConfigRepository)
Properties
Link copied to clipboard
Panel description from the connect handshake; null on display-less nodes and pre-DisplayInfo firmware.
Link copied to clipboard
Link copied to clipboard
Managed mode locks the device out of configuration, and the mirror is not a read-only view: arming it is an admin write and the controls inject input. The Debug Panel route it lives on is deliberately exempt from the gate every other settings route carries, so the restriction has to be enforced here.
Link copied to clipboard
Link copied to clipboard
Only firmware that can stream the display reports one in its metadata, so a missing displayInfo means arming the mirror or asking for a frame would go unanswered. Input events predate mirroring and stay allowed.