sdlRemoveNotification function notification

bool sdlRemoveNotification(
  1. int notification
)

Remove a notification.

\param notification the ID of the notification to remove. \returns True on success or false on failure; call SDL_GetError() for more information.

\since This function is available since SDL 3.6.0.

\sa SDL_ShowNotificationWithProperties \sa SDL_ShowNotification

extern SDL_DECLSPEC bool SDLCALL SDL_RemoveNotification(SDL_NotificationID notification)

Implementation

bool sdlRemoveNotification(int notification) {
  final sdlRemoveNotificationLookupFunction = _libSdl
      .lookupFunction<
        Bool Function(Uint32 notification),
        bool Function(int notification)
      >('SDL_RemoveNotification');
  return sdlRemoveNotificationLookupFunction(notification);
}