# NotificationCompat.Action.SemanticAction

# NotificationCompat.Action.SemanticAction

Artifact:[androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core)  
[View Source](https://cs.android.com/search?q=file:androidx/core/app/NotificationCompat.java+class:androidx.core.app.NotificationCompat.Action.SemanticAction)  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/core/app/NotificationCompat.Action.SemanticAction "View this page in Java")

<br />

```
@IntDef(value = )
@Retention(value = RetentionPolicy.SOURCE)
annotation NotificationCompat.Action.SemanticAction
```

<br />

*** ** * ** ***

Provides meaning to an[Action](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action)that hints at what the associated[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)will do. For example, an[Action](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action)with a[PendingIntent](https://developer.android.com/reference/android/app/PendingIntent.html)that replies to a text message notification may have the[SEMANTIC_ACTION_REPLY](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action#SEMANTIC_ACTION_REPLY())[SemanticAction](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.Action.SemanticAction)set within it.