java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.positioning.QGeoPositionInfo
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QGeoPositionInfo extends QtObject implements 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
Nested Classes Modifier and Type Class Description static class
QGeoPositionInfo.Attribute
Java wrapper for Qt enum QGeoPositionInfo::Attribute -
Constructor Summary
Constructors Modifier Constructor Description QGeoPositionInfo()
QGeoPositionInfo(QGeoCoordinate coordinate, QDateTime updateTime)
QGeoPositionInfo(QGeoPositionInfo other)
protected
QGeoPositionInfo(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description double
attribute(QGeoPositionInfo.Attribute attribute)
QGeoPositionInfo
clone()
QGeoCoordinate
coordinate()
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.boolean
hasAttribute(QGeoPositionInfo.Attribute attribute)
int
hashCode()
boolean
isValid()
void
readFrom(QDataStream stream)
void
removeAttribute(QGeoPositionInfo.Attribute attribute)
void
setAttribute(QGeoPositionInfo.Attribute attribute, double value)
void
setCoordinate(QGeoCoordinate coordinate)
void
setTimestamp(QDateTime timestamp)
QDateTime
timestamp()
String
toString()
void
writeTo(QDataStream stream)
-
Constructor Details
-
QGeoPositionInfo
public QGeoPositionInfo() -
QGeoPositionInfo
-
QGeoPositionInfo
-
QGeoPositionInfo
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
attribute
-
coordinate
-
hasAttribute
-
isValid
-
writeTo
-
readFrom
-
removeAttribute
-
setAttribute
-
setCoordinate
-
setTimestamp
-
timestamp
-
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. -
hashCode
public int hashCode() -
toString
-
clone
-