# GARCreateAnchorOnTerrainFuture

A handle to an async operation initiated by a call to `https://developers.google.com/ar/reference/ios/category/GARSession(Geospatial)#createanchorwithcoordinate:altitudeaboveterrain:eastupsouthqanchor:completionhandler:error:`.

See the [Terrain anchors developer guide](https://developers.google.com/ar/develop/ios/geospatial/anchors#terrain-anchors) for more information.

## Summary

### Inheritance

Inherits from: [`GARFuture`](https://developers.google.com/ar/reference/ios/interface/GARFuture)

| ### Properties ||
|---|---|
| `https://developers.google.com/ar/reference/ios/interface/GARCreateAnchorOnTerrainFuture#resultanchor` | `https://developers.google.com/ar/reference/ios/interface/GARAnchor#interface_g_a_r_anchor *` The result anchor of the async operation, or nil if the operation isn't completed successfully. |
| `https://developers.google.com/ar/reference/ios/interface/GARCreateAnchorOnTerrainFuture#resultterrainanchorstate` | `https://developers.google.com/ar/reference/ios/group/GARTerrainAnchorState#garterrainanchorstate` The result terrain anchor state of the async operation, or a default value if the operation isn't complete. |

## Properties

### resultAnchor

```
@property(nonatomic, nullable, readonly) https://developers.google.com/ar/reference/ios/interface/GARAnchor#interface_g_a_r_anchor *https://developers.google.com/ar/reference/ios/interface/GARCreateAnchorOnTerrainFuture#resultanchor;
```
The result anchor of the async operation, or nil if the operation isn't completed successfully.

This should only be used after checking that `https://developers.google.com/ar/reference/ios/interface/GARFuture#state` is `https://developers.google.com/ar/reference/ios/group/GARFutureState#garfuturestatedone`.

### resultTerrainAnchorState

```
@property(nonatomic, readonly) https://developers.google.com/ar/reference/ios/group/GARTerrainAnchorState#garterrainanchorstate https://developers.google.com/ar/reference/ios/interface/GARCreateAnchorOnTerrainFuture#resultterrainanchorstate;
```
The result terrain anchor state of the async operation, or a default value if the operation isn't complete.

This should only be used after checking that `https://developers.google.com/ar/reference/ios/interface/GARFuture#state` is `https://developers.google.com/ar/reference/ios/group/GARFutureState#garfuturestatedone`.