handleMeshtasticUri
fun handleMeshtasticUri(uri: CommonUri, onChannel: (CommonUri) -> Unit = {}, onContact: (CommonUri) -> Unit = {}): Boolean(source)
Dispatches an incoming Meshtastic URI to the appropriate handler based on its path.
Return
True if the URI was handled (matched a supported path), false otherwise.
Parameters
uri
The URI to handle.
onChannel
Callback if the URI is a Channel Set.
onContact
Callback if the URI is a Shared Contact.