# LibTmux.NotificationEvent

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/observation.jl#L25
- **Bases:** [`LibTmux.ObservationEvent`](/en/julia/latest/reference/libtmux-observationevent/)
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-notificationevent/

```
LibTmux.NotificationEvent(name, bytes, cursor)

LibTmux.NotificationEvent(
    name::Symbol,
    bytes::Vector{UInt8},
    cursor::LibTmux.ObservationCursor
)
```

A known tmux notification. `name` is its protocol name as a symbol; `bytes` owns the complete record without its final LF. No UTF-8 conversion is implied.

## Methods

### `LibTmux.NotificationEvent(name, bytes, cursor)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/observation.jl#L30).

### `NotificationEvent` (overload 2)

```julia
LibTmux.NotificationEvent(
    name::Symbol,
    bytes::Vector{UInt8},
    cursor::LibTmux.ObservationCursor
)
```

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/observation.jl#L30).

## Parameters

- `name` (`Any`) (for `NotificationEvent(name, bytes, cursor) [overload 1]`)
- `bytes` (`Any`) (for `NotificationEvent(name, bytes, cursor) [overload 1]`)
- `cursor` (`Any`) (for `NotificationEvent(name, bytes, cursor) [overload 1]`)
- `name` (`Symbol`) (for `NotificationEvent(name, bytes, cursor) [overload 2]`)
- `bytes` (`Base.Vector{UInt8}`) (for `NotificationEvent(name, bytes, cursor) [overload 2]`)
- `cursor` (`LibTmux.ObservationCursor`) (for `NotificationEvent(name, bytes, cursor) [overload 2]`)

## Members

### Other members

- `bytes` (property)
- `cursor` (property)
- `name` (property)
