SaveSystemDialog - stingray.SaveSystemDialog namespace reference - Stingray Lua API Reference
The interface to access save system dialog functionality on PlayStation 4.
As the object is a singleton (there is only one SaveSystemDialog), you do not need to pass any SaveSystemDialog
object to the functions. All the functions operate on the SaveSystemDialog singleton.
Sample usage:
Currently, the save system dialog can only be used to display the 'out of space when saving' error information.
|
Initializes the save system dialog.
|
Parameters | This function does not accept any parameters. |
Returns | This function does not return any values. |
You must call this function before stingray.SaveSystemDialog.open().
|
open ( required_blocks, user_id )
Creates and opens the save system dialog.
|
Parameters required_blocks : | integer | The number of blocks the user needs to free. Required. As specified in stingray.SaveSystem.save_error_result(). |
user_id : | integer | The ID of the user for whom the saved game must be created. Optional. If omitted, the ID of the user that launched the application is used. |
Returns | This function does not return any values. |
|
Updates and returns the current status of the save system dialog.
|
Parameters | This function does not accept any parameters. |
Returns integer |
The status of the save system dialog. May be any of the status constants.
|
|
Terminates the save system dialog and frees up the allocated resources.
|
Parameters | This function does not accept any parameters. |
Returns | This function does not return any values. |
You must call terminate() whether the operation completed successfully or not.
You can call terminate() any time after stingray.SaveSystemDialog.initialize() in order to abort the save system dialog.
Status codes that may be returned by the status() function.
|
The save system dialog has completed.
|
|
The save system dialog is initialized, but no dialog is active.
|
|
Either the save system dialog was either never initialized, or it has already been terminated.
|
|
The save system dialog has started, but not yet finished.
|