> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Android events

The following events can be raised by the Android SDK.

`Gr4vyResult.TransactionCreated
`

Returns data about the transaction object when the transaction was
successfully created.

```json theme={"system"}
{
  "transactionID": "8724fd24-5489-4a5d-90fd-0604df7d3b83",
  "status": "pending",
  "paymentMethodID": "17d57b9a-408d-49b8-9a97-9db382593003"
}
```

`Gr4vyEvent.TransactionFailed`

Returned when the transaction encounters an error.

```json theme={"system"}
{
  "transactionID": "8724fd24-5489-4a5d-90fd-0604df7d3b83",
  "status": "pending",
  "paymentMethodID": "17d57b9a-408d-49b8-9a97-9db382593003"
}
```

`Gr4vyResult.Cancelled`

Returned when the user cancels/quits the SDK.

`Gr4vyResult.GeneralError`

Returned when the SDK encounters an error.

```json theme={"system"}
{
  "Gr4vy Error: Failed to load"
}
```

`Gr4vyEvent.CardDetailsChanged`

Returned when the card BIN changes in the form. It contains information on the inputted card, such as the BIN, card type and scheme.

```json theme={"system"}
{
  "bin": "42424242",
  "scheme": "visa",
  "cardType": "debit"
}
```
