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 class QGeoPositionInfo
- Since:
- This class was introduced in Qt 5.2.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQGeoPositionInfo::Attribute
-
Constructor Summary
ConstructorDescriptionQGeoPositionInfo
(QGeoCoordinate coordinate, QDateTime updateTime) QGeoPositionInfo
(QGeoPositionInfo other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoPositionInfo other) final double
attribute
(QGeoPositionInfo.Attribute attribute) clone()
Creates and returns a copy of this object.final QGeoCoordinate
final boolean
equals
(QGeoPositionInfo other) boolean
final boolean
hasAttribute
(QGeoPositionInfo.Attribute attribute) int
hashCode()
Returns the objects's hash code computed byqHash(QGeoPositionInfo)
.final boolean
isValid()
void
readFrom
(QDataStream stream) Seeoperator>>(QDataStream&,
QGeoPositionInfo&) 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 QDateTime
toString()
Seeoperator<<(QDebug,
QGeoPositionInfo) void
writeTo
(QDataStream stream) Seeoperator<<(QDataStream&,
QGeoPositionInfo) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoPositionInfo
public QGeoPositionInfo() -
QGeoPositionInfo
- Parameters:
coordinate
-updateTime
-
-
QGeoPositionInfo
- Parameters:
other
-
-
-
Method Details
-
attribute
- Parameters:
attribute
-- Returns:
-
coordinate
- Returns:
-
hasAttribute
- Parameters:
attribute
-- Returns:
-
isValid
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QGeoPositionInfo) - Parameters:
stream
-
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QGeoPositionInfo&) - Parameters:
stream
-
-
removeAttribute
- Parameters:
attribute
-
-
setAttribute
- Parameters:
attribute
-value
-
-
setCoordinate
- Parameters:
coordinate
-
-
setTimestamp
- Parameters:
timestamp
-
-
timestamp
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoPositionInfo)
. -
toString
See
operator<<(QDebug,
QGeoPositionInfo) -
clone
Creates and returns a copy of this object.
-