# io.github.libtmux.control.Notification.Notification.read

- **Module:** io.github.libtmux.control.Notification.Notification
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/control/Notification.java#L98
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-control-notification-notification-read/

```
io.github.libtmux.control.Notification.Notification.read(kind: String, rest: String, value: Optional<String>) -> Notification
```

Reads one notification from its kind and the text after it.

## Parameters

- `kind` (String): the name without its {@code %}
- `rest` (String): what followed the name, as tmux wrote it, without any {@code " : "} value
- `value` (Optional<String>): what followed {@code " : "}, which only a subscription carries
