# UPersistAnchor

`#include <AndroidXRAnchorPersistenceBlueprintFunctionLibrary.h>`

<br />

## Summary

### Inheritance

Inherits from: [`UAndroidXRAnchorPersistenceAsyncAction`](https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceAsyncAction)

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UPersistAnchor#onanchorpersisted` | `FOnAnchorPersistedDynamic` |

| ### Public static functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UPersistAnchor#persistanchorasync(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence & AnchorPersistence, const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRSpace#struct_f_android_x_r_space & AnchorSpace)` | `https://developer.android.com/develop/xr/unreal/reference/class/UPersistAnchor#class_u_persist_anchor *` Persists an anchor asynchronously. |

| ### Public functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UPersistAnchor#activate() override` | `void` |

## Public attributes

### OnAnchorPersisted

```
FOnAnchorPersistedDynamic OnAnchorPersisted
```

## Public static functions

### PersistAnchorAsync

```
UPersistAnchor * PersistAnchorAsync(
  const FAndroidXRAnchorPersistence & AnchorPersistence,
  const FAndroidXRSpace & AnchorSpace
)
```
Persists an anchor asynchronously.

<br />

Details Parameters `AnchorPersistence` The anchor persistence with which the anchor should be associated. `AnchorSpace` The anchor space. `PersistedID` The persisted ID of the anchor. **Returns** A blueprint latent node that fires off the OnAnchorPersisted event when the operation has finished successfully.

## Public functions

### Activate

```
void Activate() override
```