You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enum [Result](#classmavsdk_1_1_geofence_1ab64d6e3b9aeb9b6d5e45ae8a843a2642) | Possible results returned for geofence requests.
28
28
std::function< void([Result](classmavsdk_1_1_geofence.md#classmavsdk_1_1_geofence_1ab64d6e3b9aeb9b6d5e45ae8a843a2642))> [ResultCallback](#classmavsdk_1_1_geofence_1af9662e645781e4e64ed8b7c65d3d9309) | Callback type for asynchronous [Geofence](classmavsdk_1_1_geofence.md) calls.
29
+
std::function< void([Result](classmavsdk_1_1_geofence.md#classmavsdk_1_1_geofence_1ab64d6e3b9aeb9b6d5e45ae8a843a2642), [GeofenceData](structmavsdk_1_1_geofence_1_1_geofence_data.md))> [DownloadGeofenceCallback](#classmavsdk_1_1_geofence_1a1fcce00cf17acb7e6f9cc3120f5b1e93) | Callback type for download_geofence_async.
void | [download_geofence_async](#classmavsdk_1_1_geofence_1aedb57c09762303d17bf911cb46bc3403) (const [DownloadGeofenceCallback](classmavsdk_1_1_geofence.md#classmavsdk_1_1_geofence_1a1fcce00cf17acb7e6f9cc3120f5b1e93) callback) | Download geofences from the vehicle.
43
+
std::pair< [Result](classmavsdk_1_1_geofence.md#classmavsdk_1_1_geofence_1ab64d6e3b9aeb9b6d5e45ae8a843a2642), [Geofence::GeofenceData](structmavsdk_1_1_geofence_1_1_geofence_data.md) > | [download_geofence](#classmavsdk_1_1_geofence_1a6470bac1295b64eed9fc03c380bfbe24) () const | Download geofences from the vehicle.
41
44
void | [clear_geofence_async](#classmavsdk_1_1_geofence_1a6947151765b621a93d35885599812752) (const [ResultCallback](classmavsdk_1_1_geofence.md#classmavsdk_1_1_geofence_1af9662e645781e4e64ed8b7c65d3d9309) callback) | Clear all geofences saved on the vehicle.
42
45
[Result](classmavsdk_1_1_geofence.md#classmavsdk_1_1_geofence_1ab64d6e3b9aeb9b6d5e45ae8a843a2642) | [clear_geofence](#classmavsdk_1_1_geofence_1a54b2a696e8aebae6916116adb92c03c3) () const | Clear all geofences saved on the vehicle.
43
46
const [Geofence](classmavsdk_1_1_geofence.md) & | [operator=](#classmavsdk_1_1_geofence_1a174d03979e425bf8440dfe9bbabaf7d2) (const [Geofence](classmavsdk_1_1_geofence.md) &)=delete | Equality operator (object is not copyable).
@@ -117,6 +120,16 @@ using mavsdk::Geofence::ResultCallback = std::function<void(Result)>
117
120
Callback type for asynchronous [Geofence](classmavsdk_1_1_geofence.md) calls.
Downloads polygon and circular geofences from the vehicle.
232
+
233
+
234
+
This function is blocking. See 'download_geofence_async' for the non-blocking counterpart.
235
+
236
+
**Returns**
237
+
238
+
 std::pair< [Result](classmavsdk_1_1_geofence.md#classmavsdk_1_1_geofence_1ab64d6e3b9aeb9b6d5e45ae8a843a2642), [Geofence::GeofenceData](structmavsdk_1_1_geofence_1_1_geofence_data.md) > - Result of request.
0 commit comments