CtlState - stingray.CtlState namespace reference - Stingray Lua API Reference
The interface for accessing the NetCtl connection status on PlayStation 4.
This object is a singleton (there is only one CtlState).
|
Returns the current status.
|
Parameters | This function does not accept any parameters. |
Returns integer |
Returns the current status. May be one of the status code constants.
|
May be returned by calls to status().
|
The connection state is 'connecting'.
|
|
The connection state is 'disconnected'.
|
|
The connection state is 'IP obtained'.
|
|
The connection state is 'IP obtaining'.
|
|
The connection state is 'unknown' due to an error.
|