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 class QNdefRecord
- Since:
- This class was introduced in Qt 5.2.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQNdefRecord::TypeNameFormat
-
Constructor Summary
ModifierConstructorDescriptionQNdefRecord
(QNdefRecord other) protected
QNdefRecord
(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat) SeeQNdefRecord::
QNdefRecord(QNdefRecord, QNdefRecord::TypeNameFormat) protected
QNdefRecord
(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat, byte [] type) Overloaded constructor forQNdefRecord(io.qt.nfc.QNdefRecord, io.qt.nfc.QNdefRecord.TypeNameFormat, io.qt.core.QByteArray)
.protected
QNdefRecord
(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) SeeQNdefRecord::
QNdefRecord(QNdefRecord, QNdefRecord::TypeNameFormat, QByteArray) protected
QNdefRecord
(QNdefRecord.TypeNameFormat typeNameFormat, byte [] type) Overloaded constructor forQNdefRecord(io.qt.nfc.QNdefRecord.TypeNameFormat, io.qt.core.QByteArray)
.protected
QNdefRecord
(QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) SeeQNdefRecord::
QNdefRecord(QNdefRecord::TypeNameFormat, QByteArray) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNdefRecord other) clone()
Creates and returns a copy of this object.final boolean
equals
(QNdefRecord other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QNdefRecord)
.final QByteArray
id()
final boolean
isEmpty()
final QByteArray
payload()
final void
setId
(byte [] id) Overloaded function forsetId(io.qt.core.QByteArray)
.final void
setId
(QByteArray id) final void
setPayload
(byte [] payload) Overloaded function forsetPayload(io.qt.core.QByteArray)
.void
setPayload
(QByteArray payload) final void
setType
(byte [] type) Overloaded function forsetType(io.qt.core.QByteArray)
.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
- Parameters:
other
-
-
QNdefRecord
See
QNdefRecord::
QNdefRecord(QNdefRecord, QNdefRecord::TypeNameFormat) - Parameters:
other
-typeNameFormat
-
-
QNdefRecord
protected QNdefRecord(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat, QByteArray type) See
QNdefRecord::
QNdefRecord(QNdefRecord, QNdefRecord::TypeNameFormat, QByteArray) - Parameters:
other
-typeNameFormat
-type
-
-
QNdefRecord
See
QNdefRecord::
QNdefRecord(QNdefRecord::TypeNameFormat, QByteArray) - Parameters:
typeNameFormat
-type
-
-
QNdefRecord
Overloaded constructor for
QNdefRecord(io.qt.nfc.QNdefRecord, io.qt.nfc.QNdefRecord.TypeNameFormat, io.qt.core.QByteArray)
. -
QNdefRecord
Overloaded constructor for
QNdefRecord(io.qt.nfc.QNdefRecord.TypeNameFormat, io.qt.core.QByteArray)
.
-
-
Method Details
-
id
- Returns:
-
isEmpty
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
payload
- Returns:
-
setId
- Parameters:
id
-
-
setPayload
- Parameters:
payload
-
-
setType
- Parameters:
type
-
-
setTypeNameFormat
- Parameters:
typeNameFormat
-
-
type
- Returns:
-
typeNameFormat
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QNdefRecord)
. -
clone
Creates and returns a copy of this object.
-
setId
Overloaded function for
setId(io.qt.core.QByteArray)
. -
setPayload
Overloaded function for
setPayload(io.qt.core.QByteArray)
. -
setType
Overloaded function for
setType(io.qt.core.QByteArray)
.
-