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
-
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 void
detach()
SeeQGeoPositionInfo::
detach() final boolean
equals
(QGeoPositionInfo rhs) 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 void
swap
(QGeoPositionInfo other) SeeQGeoPositionInfo::
swap(QGeoPositionInfo&) 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:
-
detach
See
QGeoPositionInfo::
detach() -
hasAttribute
- Parameters:
attribute
-- Returns:
-
isValid
- Returns:
-
writeTo
See
operator<<(QDataStream&,
QGeoPositionInfo) - Parameters:
stream
-
-
assign
- Parameters:
other
-
-
equals
- Parameters:
rhs
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QGeoPositionInfo&) - Parameters:
stream
-
-
removeAttribute
- Parameters:
attribute
-
-
setAttribute
- Parameters:
attribute
-value
-
-
setCoordinate
- Parameters:
coordinate
-
-
setTimestamp
- Parameters:
timestamp
-
-
swap
See
QGeoPositionInfo::
swap(QGeoPositionInfo&) - Parameters:
other
-
-
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.
-