Result NEWS_GetTotalNotifications(u32 *num)
Gets current total notifications number.
Result NEWS_SetNotificationImage(u32 news_id, const void *buffer, u32 size)
Sets a custom image for a specific notification.
Result NEWS_AddNotification(const u16 *title, u32 titleLength, const u16 *message, u32 messageLength, const void *imageData, u32 imageSize, bool jpeg)
Adds a notification to the home menu Notifications applet.
Result NEWS_GetNotificationMessage(u32 news_id, u16 *message, u32 *size)
Gets the message of a specific notification.
Result newsInit(void)
Initializes NEWS.
Result NEWS_GetNotificationImage(u32 news_id, void *buffer, u32 *size)
Gets the image of a specific notification.
Result NEWS_GetNotificationHeader(u32 news_id, NotificationHeader *header)
Gets the header of a specific notification.
Result NEWS_SetNotificationMessage(u32 news_id, const u16 *message, u32 size)
Sets a custom message for a specific notification.
Result NEWS_SetNotificationHeader(u32 news_id, const NotificationHeader *header)
Sets a custom header for a specific notification.
void newsExit(void)
Exits NEWS.
uint64_t u64
64-bit unsigned integer
Definition: types.h:24
uint8_t u8
would be nice if newlib had this already
Definition: types.h:21
s32 Result
Function result.
Definition: types.h:42
uint16_t u16
16-bit unsigned integer
Definition: types.h:22
uint32_t u32
32-bit unsigned integer
Definition: types.h:23