# UAndroidXRPerformanceMetricsBlueprintFunctionLibrary

`#include <AndroidXRPerformanceMetricsBlueprintFunctionLibrary.h>`

<br />

## Summary

### Inheritance

Inherits from: `UBlueprintFunctionLibrary`

| ### Public static functions ||
|---|---|
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPerformanceMetricsBlueprintFunctionLibrary#enumerateperformancemetricscounterpaths(TArray< FString > & MetricsCounterPaths)` | `bool` Enumerates all performance metrics counter paths supported by the runtime. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPerformanceMetricsBlueprintFunctionLibrary#getperformancemetricsenabled()` | `bool` Returns whether or not the performance metrics system is enabled. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPerformanceMetricsBlueprintFunctionLibrary#queryperformancemetricscounter(FString CounterPath, https://developer.android.com/develop/xr/unreal/reference/struct/FAndroidXRPerformanceMetricsCounter#struct_f_android_x_r_performance_metrics_counter & PerformanceMetricsCounter)` | `bool` Queries a performance metrics counter. |
| `https://developer.android.com/develop/xr/unreal/reference/class/UAndroidXRPerformanceMetricsBlueprintFunctionLibrary#setperformancemetricsenabled(bool bEnabled)` | `bool` Enables or disables the performance metrics system. |

## Public static functions

### EnumeratePerformanceMetricsCounterPaths

```
bool EnumeratePerformanceMetricsCounterPaths(
  TArray< FString > & MetricsCounterPaths
)
```
Enumerates all performance metrics counter paths supported by the runtime.

<br />

Details Parameters `MetricsCounterPaths` Array of supported performance metrics counter paths, as strings. **Returns** True if the underlying API call was successful.

### GetPerformanceMetricsEnabled

```
bool GetPerformanceMetricsEnabled()
```
Returns whether or not the performance metrics system is enabled.

<br />

| Details ||
|---|---|
| **Returns** | True if the system is enabled. |

### QueryPerformanceMetricsCounter

```
bool QueryPerformanceMetricsCounter(
  FString CounterPath,
  FAndroidXRPerformanceMetricsCounter & PerformanceMetricsCounter
)
```
Queries a performance metrics counter.

<br />

Details Parameters `CounterPath` String representing the metric counter path. `PerformanceMetricsCounter` The metrics for the specified path. **Returns** True if the underlying API call was successful.

### SetPerformanceMetricsEnabled

```
bool SetPerformanceMetricsEnabled(
  bool bEnabled
)
```
Enables or disables the performance metrics system.

<br />

Details Parameters `bEnabled` Whether or not the system should be enabled. **Returns** True if the underlying API call was successful.