java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.nfc.QNdefRecord
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QNdefNfcIconRecord
,QNdefNfcSmartPosterRecord
,QNdefNfcTextRecord
,QNdefNfcUriRecord
public class QNdefRecord extends QtObject implements Cloneable
NFC NDEF record
Java wrapper for Qt class QNdefRecord
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QNdefRecord.TypeNameFormat
Java wrapper for Qt enum QNdefRecord::TypeNameFormat -
Constructor Summary
Constructors Modifier Constructor Description QNdefRecord()
QNdefRecord(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
QNdefRecord(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QNdefRecord
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
QByteArray
id()
boolean
isEmpty()
QByteArray
payload()
void
setId(QByteArray id)
void
setPayload(QByteArray payload)
void
setType(QByteArray type)
void
setTypeNameFormat(QNdefRecord.TypeNameFormat typeNameFormat)
QByteArray
type()
QNdefRecord.TypeNameFormat
typeNameFormat()
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-