Skip to content

Commit 6592517

Browse files
committed
Reverted changes for all platforms except Unity C#
1 parent 3f3d3a7 commit 6592517

File tree

5 files changed

+0
-37
lines changed

5 files changed

+0
-37
lines changed

articles/spatial-anchors/how-tos/create-locate-anchors-cpp-ndk.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -320,19 +320,12 @@ Learn more about the [AnchorLocated](/cpp/api/spatial-anchors/ndk/anchorlocatedd
320320

321321
Learn more about the [DeleteAnchorAsync](/cpp/api/spatial-anchors/ndk/cloudspatialanchorsession#deleteanchorasync) method.
322322

323-
### Delete anchor after locating (recommended)
324-
325323
```cpp
326324
cloudSession_->DeleteAnchorAsync(cloudAnchor, [this](Status status) {
327325
// Perform any processing you may want when delete finishes
328326
});
329327
```
330328
331-
### Delete anchor without locating
332-
```cpp
333-
//TODO
334-
```
335-
336329
337330
[!INCLUDE [Stopping](../../../includes/spatial-anchors-create-locate-anchors-stopping.md)]
338331

articles/spatial-anchors/how-tos/create-locate-anchors-cpp-winrt.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -276,19 +276,11 @@ Learn more about the [AnchorLocatedDelegate](/cpp/api/spatial-anchors/winrt/anch
276276

277277
Learn more about the [DeleteAnchorAsync](/cpp/api/spatial-anchors/winrt/cloudspatialanchorsession#deleteanchorasync) method.
278278

279-
### Delete anchor after locating (recommended)
280-
281279
```cpp
282280
co_await m_cloudSession.DeleteAnchorAsync(cloudAnchor);
283281
// Perform any processing you may want when delete finishes
284282
```
285283

286-
### Delete anchor without locating
287-
```cpp
288-
//TODO
289-
```
290-
291-
292284

293285
[!INCLUDE [Stopping](../../../includes/spatial-anchors-create-locate-anchors-stopping.md)]
294286

articles/spatial-anchors/how-tos/create-locate-anchors-java.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -355,20 +355,11 @@ Learn more about the [AnchorLocatedListener](/java/api/com.microsoft.azure.spati
355355

356356
Learn more about the [deleteAnchorAsync](/java/api/com.microsoft.azure.spatialanchors.cloudspatialanchorsession.deleteanchorasync) method.
357357

358-
### Delete anchor after locating (recommended)
359-
360358
```java
361359
Future deleteAnchorFuture = mCloudSession.deleteAnchorAsync(cloudAnchor);
362360
// Perform any processing you may want when delete finishes (deleteAnchorFuture is done)
363361
```
364362

365-
### Delete anchor without locating
366-
367-
```java
368-
//TODO
369-
```
370-
371-
372363

373364
[!INCLUDE [Stopping](../../../includes/spatial-anchors-create-locate-anchors-stopping.md)]
374365

articles/spatial-anchors/how-tos/create-locate-anchors-objc.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -279,22 +279,12 @@ Learn more about the [anchorLocated](/objectivec/api/spatial-anchors/asacloudspa
279279

280280
Learn more about the [deleteAnchor](/objectivec/api/spatial-anchors/asacloudspatialanchorsession#deleteanchor) method.
281281

282-
283-
### Delete anchor after locating (recommended)
284-
285282
```objc
286283
[_cloudSession deleteAnchor:cloudAnchor withCompletionHandler:^(NSError *error) {
287284
// Perform any processing you may want when delete finishes
288285
}];
289286
```
290287
291-
### Delete anchor without locating
292-
293-
```objc
294-
//TODO
295-
```
296-
297-
298288
[!INCLUDE [Stopping](../../../includes/spatial-anchors-create-locate-anchors-stopping.md)]
299289
300290
Learn more about the [stop](/objectivec/api/spatial-anchors/asacloudspatialanchorsession#stop) method.

articles/spatial-anchors/how-tos/create-locate-anchors-swift.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,14 +291,11 @@ Learn more about the [anchorLocated](/objectivec/api/spatial-anchors/asacloudspa
291291

292292
Learn more about the [delete](/objectivec/api/spatial-anchors/asacloudspatialanchorsession#deleteanchor) method.
293293

294-
### Delete anchor after locating (recommended)
295-
296294
```swift
297295
_cloudSession?.delete(cloudAnchor!, withCompletionHandler: { (error: Error?) in
298296
// Perform any processing you may want when delete finishes
299297
})
300298
```
301-
### Delete anchor without locating
302299

303300

304301
[!INCLUDE [Stopping](../../../includes/spatial-anchors-create-locate-anchors-stopping.md)]

0 commit comments

Comments
 (0)