vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceNotificationUtil_stub


Load the required module:

int sceSysmoduleLoadModule(SceSysmoduleModuleId id)
Load a module.
@ SCE_SYSMODULE_NOTIFICATION_UTIL
NotificationUtil module.
Definition: sysmodule.h:78



Functions

 VITASDK_BUILD_ASSERT_EQ (0x4F0, SceNotificationUtilProgressInitParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x13C, SceNotificationUtilProgressUpdateParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x4E8, SceNotificationUtilProgressFinishParam)
 
SceInt32 sceNotificationUtilBgAppInitialize (void)
 Initialize notification util for use with BG application. More...
 
SceInt32 sceNotificationUtilSendNotification (const SceWChar16 *text)
 Send notification. More...
 
SceInt32 sceNotificationUtilCleanHistory (void)
 Clean notifications for calling app from notification history. More...
 
SceInt32 sceNotificationUtilProgressBegin (SceNotificationUtilProgressInitParam *initParams)
 Start BGDL-type notification. More...
 
SceInt32 sceNotificationUtilProgressUpdate (SceNotificationUtilProgressUpdateParam *updateParams)
 Update BGDL-type notification. More...
 
SceInt32 sceNotificationUtilProgressFinish (SceNotificationUtilProgressFinishParam *finishParams)
 Finish BGDL-type notification. More...
 

Typedefs

typedef void(* SceNotificationUtilProgressEventHandler) (int eventId)
 BGDL-type notification event handler function. More...
 

Macros

#define SCE_NOTIFICATIONUTIL_TEXT_MAX   0x3F
 Constants. More...
 

Data Structure Documentation

◆ SceNotificationUtilProgressInitParam

struct SceNotificationUtilProgressInitParam
Data Fields
SceWChar16 notificationText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
SceInt16 separator0
SceWChar16 notificationSubText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
SceInt16 separator1
SceChar8 unk[0x3E6]
SceInt32 unk_4EC
SceNotificationUtilProgressEventHandler eventHandler

◆ SceNotificationUtilProgressUpdateParam

struct SceNotificationUtilProgressUpdateParam
Data Fields
SceWChar16 notificationText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
SceInt16 separator0
SceWChar16 notificationSubText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
SceInt16 separator1
SceFloat targetProgress
SceChar8 reserved[0x38]

◆ SceNotificationUtilProgressFinishParam

struct SceNotificationUtilProgressFinishParam
Data Fields
SceWChar16 notificationText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
SceInt16 separator0
SceWChar16 notificationSubText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
SceInt16 separator1
SceChar8 path[0x3E8]

Macro Definition Documentation

◆ SCE_NOTIFICATIONUTIL_TEXT_MAX

#define SCE_NOTIFICATIONUTIL_TEXT_MAX   0x3F

Constants.

Typedef Documentation

◆ SceNotificationUtilProgressEventHandler

typedef void(* SceNotificationUtilProgressEventHandler) (int eventId)

BGDL-type notification event handler function.

Enumeration Type Documentation

◆ SceNotificationUtilErrorCode

Error Codes.

Enumerator
SCE_NOTIFICATIONUTIL_ERROR_INTERNAL 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/3]

VITASDK_BUILD_ASSERT_EQ ( 0x4F0  ,
SceNotificationUtilProgressInitParam   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/3]

VITASDK_BUILD_ASSERT_EQ ( 0x13C  ,
SceNotificationUtilProgressUpdateParam   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/3]

VITASDK_BUILD_ASSERT_EQ ( 0x4E8  ,
SceNotificationUtilProgressFinishParam   
)

◆ sceNotificationUtilBgAppInitialize()

SceInt32 sceNotificationUtilBgAppInitialize ( void  )

Initialize notification util for use with BG application.

Does not need to be called for normal applications.

◆ sceNotificationUtilSendNotification()

SceInt32 sceNotificationUtilSendNotification ( const SceWChar16 text)

Send notification.

Text buffer size must be 0x410.

◆ sceNotificationUtilCleanHistory()

SceInt32 sceNotificationUtilCleanHistory ( void  )

Clean notifications for calling app from notification history.

◆ sceNotificationUtilProgressBegin()

SceInt32 sceNotificationUtilProgressBegin ( SceNotificationUtilProgressInitParam initParams)

Start BGDL-type notification.

◆ sceNotificationUtilProgressUpdate()

SceInt32 sceNotificationUtilProgressUpdate ( SceNotificationUtilProgressUpdateParam updateParams)

Update BGDL-type notification.

◆ sceNotificationUtilProgressFinish()

SceInt32 sceNotificationUtilProgressFinish ( SceNotificationUtilProgressFinishParam finishParams)

Finish BGDL-type notification.