java.lang.Object
io.qt.QtObject
io.qt.core.QPermission
io.qt.core.QLocationPermission
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Access the user's location
Java wrapper for Qt's class QLocationPermission
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QLocationPermission::Accuracystatic enum
Java wrapper for Qt enum QLocationPermission::AvailabilityNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionaccuracy()
final void
assign
(QLocationPermission other) clone()
Creates and returns a copy of this object.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.int
hashCode()
final void
setAccuracy
(QLocationPermission.Accuracy accuracy) final void
setAvailability
(QLocationPermission.Availability availability) final void
swap
(QLocationPermission other) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QLocationPermission
public QLocationPermission() -
QLocationPermission
-
QLocationPermission
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
accuracy
-
availability
-
assign
-
setAccuracy
-
setAvailability
-
swap
-
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
-
clone
Creates and returns a copy of this object.
- Specified by:
clone
in classQPermission
-