MeshHudViewModel
class MeshHudViewModel(poseProvider: CameraPoseProvider, phoneLocationProvider: PhoneLocationProvider, pressureProvider: PhonePressureProvider, magneticFieldProvider: MagneticFieldProvider, nodeRepository: NodeRepository, packetRepository: PacketRepository, meshLogRepository: MeshLogRepository, tracerouteResponseProvider: TracerouteResponseProvider, tracerouteSnapshotRepository: TracerouteSnapshotRepository, mapPrefs: MapPrefs, notificationPrefs: NotificationPrefs, localeUnitsProvider: LocaleUnitsProvider, dispatchers: CoroutineDispatchers, surveyCells: SignalSurveyCellSource) : ViewModel(source)
Constructors
Link copied to clipboard
constructor(poseProvider: CameraPoseProvider, phoneLocationProvider: PhoneLocationProvider, pressureProvider: PhonePressureProvider, magneticFieldProvider: MagneticFieldProvider, nodeRepository: NodeRepository, packetRepository: PacketRepository, meshLogRepository: MeshLogRepository, tracerouteResponseProvider: TracerouteResponseProvider, tracerouteSnapshotRepository: TracerouteSnapshotRepository, mapPrefs: MapPrefs, notificationPrefs: NotificationPrefs, localeUnitsProvider: LocaleUnitsProvider, dispatchers: CoroutineDispatchers, surveyCells: SignalSurveyCellSource)
Properties
Link copied to clipboard
Waypoint ids of foreign geofences the user opted in to crossing alerts for, as the map's dialog shows them.
Link copied to clipboard
The camera's pose, always referenced to magnetic north like the rotation vector: a source that already gives true north is turned back by the declination, which every target, the tape and the radar then add once.
Link copied to clipboard
The signal survey's visible squares laid on the ground around the phone, farthest first.
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Focuses the finder on subject, or clears the focus when it is already the one focused.