java.lang.Object
io.qt.QtObject
io.qt.positioning.QGeoPositionInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains information gathered on a global position, direction and velocity at a particular point in time
Java wrapper for Qt's class QGeoPositionInfo
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QGeoPositionInfo::AttributeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQGeoPositionInfo
(QGeoCoordinate coordinate, QDateTime updateTime) QGeoPositionInfo
(QGeoPositionInfo other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoPositionInfo other) final double
attribute
(QGeoPositionInfo.Attribute attribute) clone()
final QGeoCoordinate
final void
detach()
boolean
Used 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.final boolean
hasAttribute
(QGeoPositionInfo.Attribute attribute) int
hashCode()
final boolean
isValid()
void
readFrom
(QDataStream stream) final void
removeAttribute
(QGeoPositionInfo.Attribute attribute) final void
setAttribute
(QGeoPositionInfo.Attribute attribute, double value) final void
setCoordinate
(QGeoCoordinate coordinate) final void
setTimestamp
(QDateTime timestamp) final void
swap
(QGeoPositionInfo other) final QDateTime
toString()
void
writeTo
(QDataStream stream) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoPositionInfo
public QGeoPositionInfo() -
QGeoPositionInfo
-
QGeoPositionInfo
-
QGeoPositionInfo
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
attribute
-
coordinate
-
detach
-
hasAttribute
-
isValid
-
writeTo
-
assign
-
readFrom
-
removeAttribute
-
setAttribute
-
setCoordinate
-
setTimestamp
-
swap
-
timestamp
-
equals
Description copied from class:QtObject
Used 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
-
toString
-
clone
-