The interface to access the error dialog system on the PlayStation 4.
This object is a singleton (there is only one ErrorDialog).
Other related reference items
close ( )Aborts the error dialog and closes it.
|
This function does not accept any parameters. |
This function does not return any values. |
Generally, there is no need to call this, because the error dialog is closed by the user.
initialize ( )Initializes the error dialog system.
|
This function does not accept any parameters. |
This function does not return any values. |
Call this function only when stingray.ErrorDialog.status() returns stingray.ErrorDialog.NONE.
open ( error, user_id )Opens the error dialog for the specified error code.
|
error : | integer | The error for which the error dialog needs to be opened. |
user_id : | integer? | The ID of the player. Optional. This ID value is only neeeded for some types of errors. If omitted, the ID of the initial player is used when needed. The ? notation indicates that this type is optional: there may be zero or one instances of it. |
This function does not return any values. |
Call this function only when stingray.ErrorDialog.status() returns stingray.ErrorDialog.INITIALIZED or stingray.ErrorDialog.FINISHED.
status ( ) : integerSame as stingray.ErrorDialog.update(), but does not update the status first.
|
This function does not accept any parameters. |
integer |
The status of the error dialog the last time update() was called. May be one of the status code constants. |
This function is more lightweight than stingray.ErrorDialog.update(), but does not guarantee the most up-to-date results.
Other related reference items
terminate ( )Terminates the error dialog system and frees the related resources.
|
This function does not accept any parameters. |
This function does not return any values. |
If the dialog is open, it is immediately terminated.
update ( ) : integerUpdates the status of the error dialog and returns it.
|
This function does not accept any parameters. |
integer |
The current status of the error dialog. May be one of the status code constants. |
You must call this function and act upon its return value once per frame while the error dialog is in use.
Other related reference items
May be returned by calls to update() and status().
FINISHED : integerThe error dialog is closed and finished.
|
Other related reference items
INITIALIZED : integerThe error dialog is initialized, but not opened.
|
Other related reference items
NONE : integerEither the error dialog is not initialized, or it has already been terminated.
|
Other related reference items
RUNNING : integerThe error dialog is open.
|