# Notification.Action.Extender

Added in[API level 20](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Extender

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/app/Notification.Action.Extender "View this page in Java")  

```
interface Extender
```

|--------------------------------------------------------------------------------------------------------------------------------------|
| [android.app.Notification.Action.Extender](https://developer.android.com/reference/kotlin/android/app/Notification.Action.Extender#) |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known Direct Subclasses [Notification.Action.WearableExtender](https://developer.android.com/reference/kotlin/android/app/Notification.Action.WearableExtender) |-----------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------| | [Notification.Action.WearableExtender](https://developer.android.com/reference/kotlin/android/app/Notification.Action.WearableExtender) | Wearable extender for notification actions. | |

Extender interface for use with[Builder.extend](https://developer.android.com/reference/kotlin/android/app/Notification.Action.Builder#extend(android.app.Notification.Action.Extender)). Extenders may be used to add metadata or change options on an action builder.

## Summary

|                                                                                                                                                                                                                                 Public methods                                                                                                                                                                                                                                 ||
|--------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[Notification.Action.Builder](https://developer.android.com/reference/kotlin/android/app/Notification.Action.Builder)! | [extend](https://developer.android.com/reference/kotlin/android/app/Notification.Action.Extender#extend(android.app.Notification.Action.Builder))`(`builder:` `[Notification.Action.Builder](https://developer.android.com/reference/kotlin/android/app/Notification.Action.Builder)!`)` Apply this extender to a notification action builder. |

## Public methods

### extend

Added in[API level 20](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
abstract fun extend(builder: Notification.Action.Builder!): Notification.Action.Builder!
```

Apply this extender to a notification action builder.

|                                                                          Parameters                                                                          ||
|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------|
| `builder` | [Notification.Action.Builder](https://developer.android.com/reference/kotlin/android/app/Notification.Action.Builder)!:the builder to be modified |

|                                                                        Return                                                                         ||
|------------------------------------------------------------------------------------------------------------------------|-------------------------------|
| [Notification.Action.Builder](https://developer.android.com/reference/kotlin/android/app/Notification.Action.Builder)! | the build object for chaining |