# ActionCodeEmailInfo


```
abstract class ActionCodeEmailInfo : ActionCodeInfo
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [com.google.firebase.auth.ActionCodeInfo](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/ActionCodeInfo) ||
|   | ↳ | [com.google.firebase.auth.ActionCodeEmailInfo](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/ActionCodeEmailInfo) |

*** ** * ** ***

Holds information regarding out-of-band operations that involve an email change.

## Summary

| ### Public constructors |
|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/ActionCodeEmailInfo#ActionCodeEmailInfo()()` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/ActionCodeEmailInfo#getEmail()()` Returns the email on the account after the application of the out-of-band code. |
| `abstract https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/ActionCodeEmailInfo#getPreviousEmail()()` Returns the email on the account before the application of the out-of-band code. |

| ### Inherited properties |
|---|
| From [com.google.firebase.auth.ActionCodeInfo](https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/ActionCodeInfo) |---|---| | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `@https://firebase.google.com/docs/reference/kotlin/com/google/android/gms/testing/lint/common/SuppressViolation(value = "hide_members_annotation") https://firebase.google.com/docs/reference/kotlin/com/google/firebase/auth/ActionCodeInfo#email()` Member variable holding the email for this ActionCode Info | |

## Public constructors

### ActionCodeEmailInfo

```
ActionCodeEmailInfo()
```

## Public functions

### getEmail

```
fun getEmail(): String
```

Returns the email on the account after the application of the out-of-band code.

### getPreviousEmail

```
abstract fun getPreviousEmail(): String
```

Returns the email on the account before the application of the out-of-band code.