java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.nfc.QNdefRecord
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QNdefNfcIconRecord
,QNdefNfcSmartPosterRecord
,QNdefNfcTextRecord
,QNdefNfcUriRecord
NFC NDEF record
Java wrapper for Qt's class QNdefRecord
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QNdefRecord::TypeNameFormatNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQNdefRecord
(QNdefRecord other) protected
QNdefRecord
(QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) protected
QNdefRecord
(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat) protected
QNdefRecord
(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final QByteArray
id()
final boolean
isEmpty()
final QByteArray
payload()
final void
setId
(QByteArray id) void
setPayload
(QByteArray payload) final void
setType
(QByteArray type) final void
setTypeNameFormat
(QNdefRecord.TypeNameFormat typeNameFormat) final QByteArray
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNdefRecord
public QNdefRecord() -
QNdefRecord
-
QNdefRecord
-
QNdefRecord
-
QNdefRecord
protected QNdefRecord(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) -
QNdefRecord
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
id
-
isEmpty
-
payload
-
setId
-
setPayload
-
setType
-
setTypeNameFormat
-
type
-
typeNameFormat
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-