RemoteContactsViewModel
class RemoteContactsViewModel(@Assisted val destNum: Int, nodeRepository: NodeRepository, radioController: RadioController, ensureRemoteAdminSession: EnsureRemoteAdminSessionUseCase) : ViewModel(source)
Edits the node DB of destNum, a node this radio administers remotely: send a contact and favorite it, unfavorite, ignore, unignore and remove. Candidates come from the local node DB, since firmware has no admin request that lists a remote node DB.
Constructors
Link copied to clipboard
constructor(@Assisted destNum: Int, nodeRepository: NodeRepository, radioController: RadioController, ensureRemoteAdminSession: EnsureRemoteAdminSessionUseCase)
Types
Properties
Link copied to clipboard
Every node other than destNum itself: our own node first, then local favorites, then most recently heard. One without a trusted key stays listed, since only sending it as a contact needs a key: see hasTrustedKey.
Link copied to clipboard