java.lang.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
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enum QNdefRecord::TypeNameFormatNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQNdefRecord(QNdefRecord other) protectedQNdefRecord(QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) protectedQNdefRecord(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat) protectedQNdefRecord(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QNdefRecord other) final voidclear()clone()Creates and returns a copy of this object.booleanUsed 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.inthashCode()final QByteArrayid()final booleanisEmpty()final QByteArraypayload()final voidsetId(QByteArray id) voidsetPayload(QByteArray payload) final voidsetType(QByteArray type) final voidsetTypeNameFormat(QNdefRecord.TypeNameFormat typeNameFormat) final QByteArraytype()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
-
clear
-
id
-
isEmpty
-
assign
-
payload
-
setId
-
setPayload
-
setType
-
setTypeNameFormat
-
type
-
typeNameFormat
-
equals
Description copied from class:io.qt.QtObjectUsed 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
Creates and returns a copy of this object.
-