# UAndroidXRAnchorPersistenceBlueprintFunctionLibrary

`#include <AndroidXRAnchorPersistenceBlueprintFunctionLibrary.h>`

<br />

## Summary

### Inheritance

Inherits from: `UBlueprintFunctionLibrary`

| ### Public static functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceBlueprintFunctionLibrary#createanchorpersistence(https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence & AnchorPersistence)` | `bool` Creates an anchor persistence. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceBlueprintFunctionLibrary#destroyanchorpersistence(https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence & AnchorPersistence)` | `bool` Destroys an anchor persistence. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceBlueprintFunctionLibrary#enumeratepersistedanchors(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence & AnchorPersistence, TArray< FGuid > & PersistedAnchors)` | `bool` Enumerates the persisted anchors associated with an anchor persistence. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceBlueprintFunctionLibrary#enumeratesupportedpersistenceanchortypes(TArray< https://developer.android.com/develop/xr/unreal/reference/other/AndroidXRTypes.h#eandroidxrtrackabletype > & SupportedTypes)` | `bool` Enumerates the types of trackables which support persistent anchors. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceBlueprintFunctionLibrary#getanchorpersiststate(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence & AnchorPersistence, const FGuid & PersistedID, https://developer.android.com/develop/xr/unreal/reference/other/AndroidXRAnchorPersistenceTypes.h#eandroidxranchorpersiststate & PersistState)` | `bool` Gets the persist state of an anchor. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceBlueprintFunctionLibrary#getanchorpersistencesupported()` | `bool` Determines whether or not anchor persistence is supported. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRAnchorPersistenceBlueprintFunctionLibrary#isvalidanchorpersistence(const https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence & AnchorPersistence)` | `bool` Determines whether or not an [FAndroidXRAnchorPersistence](https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence) is valid. |

## Public static functions

### CreateAnchorPersistence

```
bool CreateAnchorPersistence(
  FAndroidXRAnchorPersistence & AnchorPersistence
)
```
Creates an anchor persistence.

<br />

Details Parameters `AnchorPersistence` The anchor persistence that was created. **Returns** True if the underlying API call was successful.

### DestroyAnchorPersistence

```
bool DestroyAnchorPersistence(
  FAndroidXRAnchorPersistence & AnchorPersistence
)
```
Destroys an anchor persistence.

<br />

Details Parameters `AnchorPersistence` The anchor persistence to be destroyed. **Returns** True if the underlying API call was successful.

### EnumeratePersistedAnchors

```
bool EnumeratePersistedAnchors(
  const FAndroidXRAnchorPersistence & AnchorPersistence,
  TArray< FGuid > & PersistedAnchors
)
```
Enumerates the persisted anchors associated with an anchor persistence.

<br />

Details Parameters `AnchorPersistence` The anchor persistence to be queried. `PersistedAnchors` The persisted anchors associated with the provided anchor persistence. **Returns** True if the underlying API call was successful.

### EnumerateSupportedPersistenceAnchorTypes

```
bool EnumerateSupportedPersistenceAnchorTypes(
  TArray< EAndroidXRTrackableType > & SupportedTypes
)
```
Enumerates the types of trackables which support persistent anchors.

<br />

Details Parameters `SupportedTypes` The trackable types which support persistent anchors. **Returns** True if the underlying API call was successful.

### GetAnchorPersistState

```
bool GetAnchorPersistState(
  const FAndroidXRAnchorPersistence & AnchorPersistence,
  const FGuid & PersistedID,
  EAndroidXRAnchorPersistState & PersistState
)
```
Gets the persist state of an anchor.

<br />

Details Parameters `AnchorPersistence` The anchor persistence with which the anchor is associated. `PersistedID` The persisted ID of the anchor. `PersistState` The persist state of the anchor. **Returns** True if the underlying API call was successful.

### GetAnchorPersistenceSupported

```
bool GetAnchorPersistenceSupported()
```
Determines whether or not anchor persistence is supported.

<br />

| Details ||
|---|---|
| **Returns** | True if anchor persistence is supported. |

### IsValidAnchorPersistence

```
bool IsValidAnchorPersistence(
  const FAndroidXRAnchorPersistence & AnchorPersistence
)
```
Determines whether or not an [FAndroidXRAnchorPersistence](https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRAnchorPersistence#struct_f_android_x_r_anchor_persistence) is valid.

<br />

Details Parameters `AnchorPersistence` AnchorPersistence to be verified. **Returns** True if the anchor persistence is valid.