[**react-native-notify-kit**](react-native/reference/index)

---

[react-native-notify-kit](react-native/reference/index) / AndroidAction

# Interface: AndroidAction

Defined in: [packages/react-native/src/types/NotificationAndroid.ts:530](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L530)

The interface used to describe a notification quick action for Android.

Notification actions allow users to interact with notifications, allowing you to handle events
within your application. When an action completes (e.g. pressing an action, or filling out an input
box) an event is sent.

View the [Quick Actions](/react-native/android/interaction#quick-actions) documentation to learn more.

## Platform

android

## Properties

### icon?

> `optional` **icon?**: `string`

Defined in: [packages/react-native/src/types/NotificationAndroid.ts:550](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L550)

An remote http or local icon path representing the action. Newer devices may not show the icon.

Recommended icon size is 24x24 px.

---

### input?

> `optional` **input?**: `true` | [`AndroidInput`](react-native/reference/Interface.AndroidInput)

Defined in: [packages/react-native/src/types/NotificationAndroid.ts:561](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L561)

If provided, the action accepts user input.

If `true`, the user will be able to provide free text input when the action is pressed. This
property can be further configured for advanced inputs.

View the [Action Input](/react-native/android/interaction#action-input) documentation to
learn more.

---

### pressAction

> **pressAction**: [`NotificationPressAction`](react-native/reference/Interface.NotificationPressAction)

Defined in: [packages/react-native/src/types/NotificationAndroid.ts:538](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L538)

The press action interface describing what happens when an action completes.

Note; unlike the `pressAction` in the notification body, an action does not need to open the application
and can perform background tasks. See the [AndroidPressAction](/react-native/reference/androidpressaction) reference
or [Quick Actions](/react-native/android/interaction#quick-actions) documentation to learn more.

---

### title

> **title**: `string`

Defined in: [packages/react-native/src/types/NotificationAndroid.ts:543](https://github.com/marcocrupi/react-native-notify-kit/blob/main/packages/react-native/src/types/NotificationAndroid.ts#L543)

The title of the action, e.g. "Reply", "Mark as read" etc.
