ScePromoterUtil

is a wrapper for SceShellSvc calls that install applications to LiveArea. Specifically, it takes contents decrypted and extracted from packages and moves them to the right directory and adds an icon to LiveArea.

scePromoterUtilityInit
This sets up the library. Call it immediately after loading it.

scePromoterUtilityExit
This shuts down the library. Call it immediately before unloading it.

scePromoterUtilityDeletePkg
Deletes an icon from LiveArea.

scePromoterUtilityUpdateLiveArea
Updates the LiveArea XML.

scePromoterUtilityPromotePkg
Installs the extracted content at  to the right location and add a LiveArea icon.

scePromoterUtilityPromotePkgWithRif
Same as scePromoterUtilityPromotePkg but also generates a fixed RIF for the installed package.

scePromoterUtilityGetState
The scePromoterUtilityPromotePkg and scePromoterUtilityPromotePkgWithRif functions happen asynchronously. will be set to  when the operation is done.

scePromoterUtilityGetResult
After scePromoterUtilityGetState is set to, this will get the result of the operation.

Promoter Heartbeat
When  is non-zero, the promote process is still alive.