|
SDL 3.0
|
#include <SDL_events.h>
Data Fields | |
| SDL_EventType | type |
| Uint32 | reserved |
| Uint64 | timestamp |
| SDL_NotificationID | which |
| const char * | action_id |
Notification dialog event structure (event.notification.*)
An action_id value of 'default' for an SDL_EVENT_NOTIFICATION_ACTION_INVOKED event indicates that the notification was interacted with without selecting a specific action (e.g. the body of the notification was clicked on).
Definition at line 781 of file SDL_events.h.
| const char* SDL_NotificationEvent::action_id |
The identifier string of the action invoked in the notification dialog.
Definition at line 787 of file SDL_events.h.
| Uint32 SDL_NotificationEvent::reserved |
Definition at line 784 of file SDL_events.h.
| Uint64 SDL_NotificationEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 785 of file SDL_events.h.
| SDL_EventType SDL_NotificationEvent::type |
SDL_EVENT_NOTIFICATION_ACTION_INVOKED
Definition at line 783 of file SDL_events.h.
| SDL_NotificationID SDL_NotificationEvent::which |
The ID of the notification that generated this event.
Definition at line 786 of file SDL_events.h.