# UAndroidXRSpatialMarkersNotifierComponent

`#include <AndroidXRSpatialMarkersNotifierComponent.h>`

The component that keeps track of tracked marker entities.

<br />

## Summary

### Inheritance

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

| ### Public attributes ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#markertrackingconfig {}` | `https://developer.android.com/develop/xr/unreal/reference/struct/FSpatialMarkerTrackingConfig#struct_f_spatial_marker_tracking_config` The configuration to start marker tracking with. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#onmarkeradded {}` | `FSpatialMarkerChangedDelegate` The callback for when a marker is added by the runtime. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#onmarkerremoved {}` | `FSpatialMarkerChangedDelegate` The callback for when the runtime removes a marker. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#trackedmarkers {}` | `TArray< https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkerEntity#class_u_android_x_r_spatial_marker_entity * >` The markers being tracked. |

| ### Protected functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#bindtotrackingevents() override` | `virtual void` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#getcapabilitysubsystem() override` | `virtual https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialEntitiesSubsystem#class_u_android_x_r_spatial_entities_subsystem *` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#onstarttracking() override` | `virtual void` |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRSpatialMarkersNotifierComponent#unbindfromtrackingevents() override` | `virtual void` |

## Public attributes

### MarkerTrackingConfig

```
FSpatialMarkerTrackingConfig MarkerTrackingConfig {}
```
The configuration to start marker tracking with.

### OnMarkerAdded

```
FSpatialMarkerChangedDelegate OnMarkerAdded {}
```
The callback for when a marker is added by the runtime.

### OnMarkerRemoved

```
FSpatialMarkerChangedDelegate OnMarkerRemoved {}
```
The callback for when the runtime removes a marker.

### TrackedMarkers

```
TArray< UAndroidXRSpatialMarkerEntity * > TrackedMarkers {}
```
The markers being tracked.

## Protected functions

### BindToTrackingEvents

```
virtual void BindToTrackingEvents() override
```

### GetCapabilitySubsystem

```
virtual UAndroidXRSpatialEntitiesSubsystem * GetCapabilitySubsystem() override
```

### OnStartTracking

```
virtual void OnStartTracking() override
```

### UnbindFromTrackingEvents

```
virtual void UnbindFromTrackingEvents() override
```