# XRGeospatialStateChangedEventArgs

Container for [XRGeospatialState](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate) event arguments.

## Summary

### Inheritance

Inherits from: `IEquatable< XRGeospatialStateChangedEventArgs >`

| ### Constructors and Destructors ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#xrgeospatialstatechangedeventargs(https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate prev, https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate curr)` Constructs event arguments with previous and current states. ||

| ### Properties ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#currstate` | `https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate` Gets the current [XRGeospatialState](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate). |
| `https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#prevstate` | `https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate` Gets the previous [XRGeospatialState](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate). |

| ### Public functions ||
|---|---|
| `https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#equals(object obj)` | `override bool` |
| `https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#equals(https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#structGoogle_1_1XR_1_1Extensions_1_1XRGeospatialStateChangedEventArgs other)` | `bool` |
| `https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#gethashcode()` | `override int` |
| `https://developer.android.com/develop/xr/unity/reference/struct/Google/XR/Extensions/XRGeospatialStateChangedEventArgs#tostring()` | `override string` |

## Properties

### CurrState

```c#
XRGeospatialState Google::XR::Extensions::XRGeospatialStateChangedEventArgs::CurrState
```
Gets the current [XRGeospatialState](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate).

### PrevState

```c#
XRGeospatialState Google::XR::Extensions::XRGeospatialStateChangedEventArgs::PrevState
```
Gets the previous [XRGeospatialState](https://developer.android.com/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrgeospatialstate).

## Public functions

### Equals

```c#
override bool Google::XR::Extensions::XRGeospatialStateChangedEventArgs::Equals(
  object obj
)
```

### Equals

```c#
bool Google::XR::Extensions::XRGeospatialStateChangedEventArgs::Equals(
  XRGeospatialStateChangedEventArgs other
)
```

### GetHashCode

```c#
override int Google::XR::Extensions::XRGeospatialStateChangedEventArgs::GetHashCode()
```

### ToString

```c#
override string Google::XR::Extensions::XRGeospatialStateChangedEventArgs::ToString()
```

### XRGeospatialStateChangedEventArgs

```c#
 Google::XR::Extensions::XRGeospatialStateChangedEventArgs::XRGeospatialStateChangedEventArgs(
  XRGeospatialState prev,
  XRGeospatialState curr
)
```
Constructs event arguments with previous and current states.


Details Parameters `prev` The previous state. `curr` The current state.