# GARCreateAnchorOnRooftopFuture

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

See the [Rooftop anchors developer guide](https://developers.google.com/ar/develop/ios/geospatial/anchors#rooftop-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/GARCreateAnchorOnRooftopFuture#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/GARCreateAnchorOnRooftopFuture#resultrooftopanchorstate` | `https://developers.google.com/ar/reference/ios/group/GARRooftopAnchorState#garrooftopanchorstate` The result rooftop 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/GARCreateAnchorOnRooftopFuture#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`.

### resultRooftopAnchorState

```
@property(nonatomic, readonly) https://developers.google.com/ar/reference/ios/group/GARRooftopAnchorState#garrooftopanchorstate https://developers.google.com/ar/reference/ios/interface/GARCreateAnchorOnRooftopFuture#resultrooftopanchorstate;
```
The result rooftop 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`.