# PermissionsResultStatus

# PermissionsResultStatus


```
enum PermissionsResultStatus : Enum
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html) ||
|   | ↳ | [com.google.home.PermissionsResultStatus](https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus) |

*** ** * ** ***

Statuses for a permissions request.

## Summary

| ### Enum Values |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus#CANCELLED` | The user has cancelled the permissions flow. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus#ERROR` | An error occurred during the permissions flow. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus#SUCCESS` | Permissions successfully granted. |

| ### Public functions |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus` | `https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus#valueOf(kotlin.String)(value: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Returns the enum constant of this type with the specified name. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus>` | `https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus#values()()` Returns an array containing the constants of this enum type, in the order they're declared. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/kotlin/enums/EnumEntries<https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus>` | `https://developers.home.google.com/reference/kotlin/com/google/home/PermissionsResultStatus#entries()` Returns a representation of an immutable list of all enum entries, in the order they're declared. |

## Enum Values

### CANCELLED

```
val PermissionsResultStatus.CANCELLED: PermissionsResultStatus
```

The user has cancelled the permissions flow.

### ERROR

```
val PermissionsResultStatus.ERROR: PermissionsResultStatus
```

An error occurred during the permissions flow.

### SUCCESS

```
val PermissionsResultStatus.SUCCESS: PermissionsResultStatus
```

Permissions successfully granted.

## Public functions

### valueOf

```
fun valueOf(value: String): PermissionsResultStatus
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

| Throws |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html` | if this enum type has no constant with the specified name |

### values

```
fun values(): Array<PermissionsResultStatus>
```

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

## Public properties

### entries

```
val entries: EnumEntries<PermissionsResultStatus>
```

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.