Package ch.bailu.gtk.geoclue
Klasse Simple
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.geoclue.Simple
- Alle implementierten Schnittstellen:
PointerInterface
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic void
_new
(Str desktop_id, int accuracy_level, Cancellable cancellable, Simple.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously creates a #GClueSimple instance.Implements interfaceAsyncInitable
.static ClassHandler
Gets the client proxy, or %NULL if @simple is not using a client proxy (i-e
when inside the Flatpak sandbox).static int
Gets the current location.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
static Simple
newFinishSimple
(AsyncResult result) Finishes an operation started with #gclue_simple_new().static Simple
newSyncSimple
(Str desktop_id, int accuracy_level, Cancellable cancellable) The synchronous and blocking version of #gclue_simple_new().static Simple
newSyncSimple
(String desktop_id, int accuracy_level, Cancellable cancellable) The synchronous and blocking version of #gclue_simple_new().static void
newWithThresholds
(Str desktop_id, int accuracy_level, int time_threshold, int distance_threshold, Cancellable cancellable, Simple.OnAsyncReadyCallback callback, Pointer user_data) Asynchronously creates a #GClueSimple instance.static Simple
Finishes an operation started with #gclue_simple_new_with_thresholds().static Simple
newWithThresholdsSyncSimple
(Str desktop_id, int accuracy_level, int time_threshold, int distance_threshold, Cancellable cancellable) The synchronous and blocking version of #gclue_simple_new_with_thresholds().static Simple
newWithThresholdsSyncSimple
(String desktop_id, int accuracy_level, int time_threshold, int distance_threshold, Cancellable cancellable) The synchronous and blocking version of #gclue_simple_new_with_thresholds().Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
Simple
-
-
Methodendetails
-
getClassHandler
-
newFinishSimple
Finishes an operation started with #gclue_simple_new().- Parameter:
result
- The #GAsyncResult obtained from the #GAsyncReadyCallback passed to #gclue_simple_new().- Gibt zurück:
- The constructed proxy object or %NULL if @error is set.
- Löst aus:
AllocationError
-
newSyncSimple
public static Simple newSyncSimple(@Nonnull Str desktop_id, int accuracy_level, @Nullable Cancellable cancellable) throws AllocationError The synchronous and blocking version of #gclue_simple_new().- Parameter:
desktop_id
- The desktop file id (the basename of the desktop file).accuracy_level
- The requested accuracy level as #GClueAccuracyLevel.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- The new #GClueSimple object or %NULL if @error is set.
- Löst aus:
AllocationError
-
newSyncSimple
public static Simple newSyncSimple(String desktop_id, int accuracy_level, @Nullable Cancellable cancellable) throws AllocationError The synchronous and blocking version of #gclue_simple_new().- Parameter:
desktop_id
- The desktop file id (the basename of the desktop file).accuracy_level
- The requested accuracy level as #GClueAccuracyLevel.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- The new #GClueSimple object or %NULL if @error is set.
- Löst aus:
AllocationError
-
newWithThresholdsFinishSimple
public static Simple newWithThresholdsFinishSimple(@Nonnull AsyncResult result) throws AllocationError Finishes an operation started with #gclue_simple_new_with_thresholds().- Parameter:
result
- The #GAsyncResult obtained from the #GAsyncReadyCallback passed to #gclue_simple_new_with_thresholds().- Gibt zurück:
- The constructed proxy object or %NULL if @error is set.
- Löst aus:
AllocationError
-
newWithThresholdsSyncSimple
public static Simple newWithThresholdsSyncSimple(@Nonnull Str desktop_id, int accuracy_level, int time_threshold, int distance_threshold, @Nullable Cancellable cancellable) throws AllocationError The synchronous and blocking version of #gclue_simple_new_with_thresholds().- Parameter:
desktop_id
- The desktop file id (the basename of the desktop file).accuracy_level
- The requested accuracy level as #GClueAccuracyLevel.time_threshold
- Time threshold in seconds, 0 for no limit.distance_threshold
- Distance threshold in meters, 0 for no limit.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- The new #GClueSimple object or %NULL if @error is set.
- Löst aus:
AllocationError
-
newWithThresholdsSyncSimple
public static Simple newWithThresholdsSyncSimple(String desktop_id, int accuracy_level, int time_threshold, int distance_threshold, @Nullable Cancellable cancellable) throws AllocationError The synchronous and blocking version of #gclue_simple_new_with_thresholds().- Parameter:
desktop_id
- The desktop file id (the basename of the desktop file).accuracy_level
- The requested accuracy level as #GClueAccuracyLevel.time_threshold
- Time threshold in seconds, 0 for no limit.distance_threshold
- Distance threshold in meters, 0 for no limit.cancellable
- A #GCancellable or %NULL.- Gibt zurück:
- The new #GClueSimple object or %NULL if @error is set.
- Löst aus:
AllocationError
-
getClient
Gets the client proxy, or %NULL if @simple is not using a client proxy (i-e
when inside the Flatpak sandbox).- Gibt zurück:
- The client object.
-
getLocation
Gets the current location.- Gibt zurück:
- The last known location as #GClueLocation.
-
_new
public static void _new(@Nonnull Str desktop_id, int accuracy_level, @Nullable Cancellable cancellable, Simple.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously creates a #GClueSimple instance. Use
#gclue_simple_new_finish() to get the created #GClueSimple instance.
See #gclue_simple_new_sync() for the synchronous, blocking version
of this function.- Parameter:
desktop_id
- The desktop file id (the basename of the desktop file).accuracy_level
- The requested accuracy level as #GClueAccuracyLevel.cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the results are ready.user_data
- User data to pass to @callback.
-
newWithThresholds
public static void newWithThresholds(@Nonnull Str desktop_id, int accuracy_level, int time_threshold, int distance_threshold, @Nullable Cancellable cancellable, Simple.OnAsyncReadyCallback callback, @Nullable Pointer user_data) Asynchronously creates a #GClueSimple instance. Use
#gclue_simple_new_with_thresholds_finish() to get the created #GClueSimple instance.
See #gclue_simple_new_with_thresholds_sync() for the synchronous,
blocking version of this function.- Parameter:
desktop_id
- The desktop file id (the basename of the desktop file).accuracy_level
- The requested accuracy level as #GClueAccuracyLevel.time_threshold
- Time threshold in seconds, 0 for no limit.distance_threshold
- Distance threshold in meters, 0 for no limit.cancellable
- A #GCancellable or %NULL.callback
- A #GAsyncReadyCallback to call when the results are ready.user_data
- User data to pass to @callback.
-
asAsyncInitable
Implements interfaceAsyncInitable
. Call this to get access to interface functions.- Gibt zurück:
AsyncInitable
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-