handleMeshtasticUri

fun handleMeshtasticUri(uri: ERROR CLASS: Symbol not found for CommonUri, onChannel: (ERROR CLASS: Symbol not found for CommonUri) -> Unit = {}, onContact: (ERROR CLASS: Symbol not found for 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.