toSharedContact

fun Uri.toSharedContact(): SharedContact(source)

Bridge extension for Android clients.

fun Node.toSharedContact(isOwnContact: Boolean = false): SharedContact(source)

The SharedContact to encode for node.

isOwnContact marks it manually verified (design#149 point 2): you hold your own radio's key, and a QR shown in person is the in-person exchange. Relaying someone else's contact only passes on what was already recorded, it never asserts verification on their behalf.


fun CommonUri.toSharedContact(): SharedContact(source)

Return a SharedContact that represents the contact encoded by the URL.

Throws

when not recognized as a valid Meshtastic URL