PySide6.QtNfc.QNdefNfcUriRecord

class QNdefNfcUriRecord

The QNdefNfcUriRecord class provides an NFC RTD-URI.

Details

RTD-URI encapsulates a URI.

Inheritance diagram of PySide6.QtNfc.QNdefNfcUriRecord

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()

Constructs an empty NFC uri record.

__init__(other)
Parameters:

other – QNdefRecord

Constructs a new NFC uri record that is a copy of other.

setUri(uri)
Parameters:

uri – QUrl

Sets the URI of this URI record to uri.

See also

uri()

uri()
Return type:

QUrl

Returns the URI of this URI record.

Warning

Application developers are advised to validate the returned URI before acting on it. See Qt NFC Security Considerations for guidance.

See also

setUri()