java.lang.Object
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QNdefRecord>
,Collection<QNdefRecord>
,List<QNdefRecord>
public class QNdefMessage extends QList<QNdefRecord> implements Cloneable
NFC NDEF message
Java wrapper for Qt class QNdefMessage
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QNdefMessage()
QNdefMessage(QNdefMessage message)
QNdefMessage(QNdefRecord record)
protected
QNdefMessage(QtObject.QPrivateConstructor p)
Constructor for internal use only.QNdefMessage(Collection<QNdefRecord> records)
-
Method Summary
Modifier and Type Method Description QNdefMessage
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.static QNdefMessage
fromByteArray(QByteArray message)
int
hashCode()
QByteArray
toByteArray()
Methods inherited from class io.qt.core.QList
add, add, append, append, at, begin, clear, contains, count, count, createVariantList, end, endsWith, first, get, indexOf, indexOf, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, prepend, readFrom, remove, removeAll, removeAt, removeAtIndex, removeFirst, removeLast, removeOne, replace, reserve, set, size, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, toSet, value, value, writeTo
Methods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
containsAll, descendingIterator, iterator, removeAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
QNdefMessage
public QNdefMessage() -
QNdefMessage
-
QNdefMessage
-
QNdefMessage
-
QNdefMessage
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
toByteArray
-
fromByteArray
-
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.- Specified by:
equals
in interfaceCollection<QNdefRecord>
- Specified by:
equals
in interfaceList<QNdefRecord>
- Overrides:
equals
in classQList<QNdefRecord>
- Parameters:
other
- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
- Specified by:
hashCode
in interfaceCollection<QNdefRecord>
- Specified by:
hashCode
in interfaceList<QNdefRecord>
- Overrides:
hashCode
in classQList<QNdefRecord>
-
clone
- Overrides:
clone
in classQList<QNdefRecord>
-