java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.nfc.QNdefRecord
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
- Direct Known Subclasses:
QNdefNfcIconRecord,QNdefNfcSmartPosterRecord,QNdefNfcTextRecord,QNdefNfcUriRecord
NFC NDEF record
Java wrapper for Qt class QNdefRecord
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enum QNdefRecord::TypeNameFormatNested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQNdefRecord(QNdefRecord other) protectedQNdefRecord(QNdefRecord.TypeNameFormat typeNameFormat, io.qt.core.QByteArray type) protectedQNdefRecord(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat) protectedQNdefRecord(QNdefRecord other, QNdefRecord.TypeNameFormat typeNameFormat, io.qt.core.QByteArray type) protectedQNdefRecord(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclear()clone()booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final io.qt.core.QByteArrayid()final booleanisEmpty()final io.qt.core.QByteArraypayload()final voidsetId(io.qt.core.QByteArray id) voidsetPayload(io.qt.core.QByteArray payload) final voidsetType(io.qt.core.QByteArray type) final voidsetTypeNameFormat(QNdefRecord.TypeNameFormat typeNameFormat) final io.qt.core.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, io.qt.core.QByteArray type) -
QNdefRecord
protected QNdefRecord(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
clear
@QtUninvokable public final void clear() -
id
@QtUninvokable public final io.qt.core.QByteArray id() -
isEmpty
@QtUninvokable public final boolean isEmpty() -
payload
@QtUninvokable public final io.qt.core.QByteArray payload() -
setId
@QtUninvokable public final void setId(io.qt.core.QByteArray id) -
setPayload
@QtDeclaredFinal @QtUninvokable public void setPayload(io.qt.core.QByteArray payload) -
setType
@QtUninvokable public final void setType(io.qt.core.QByteArray type) -
setTypeNameFormat
-
type
@QtUninvokable public final io.qt.core.QByteArray type() -
typeNameFormat
-
equals
Description copied from class:io.qt.QtObjectUsed 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.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
clone
-