PSN category - Stingray Lua API Reference

Description

This category contains API elements related to PlayStation 4 games networked over the PlayStation Network (PSN).

Namespaces

The interface to access QoSVoiceChat functionality on PlayStation 4.

Objects

Represents a network node in a PlayStation Network (PSN) game.
Represents a room in a PlayStation Network (PSN) game.
The PsnRoomBrowser provides access to the list of game rooms available on the PlayStation Network (PSN).

Functions

Parameters

client :

stingray.PsnClient

The PSN client.

user_id :

integer

ID of the user with whom to init QoSVoiceChat.

Returns
This function does not return any values.

Note that QoSVoiceChat only works for one local user at a time.

Parameters
This function does not accept any parameters.
Returns

boolean

True if muted.

Parameters

mute :

boolean

True for mute, false for unmute.

Returns
This function does not return any values.
Parameters

peer_id :

string

Id of the peer to mute.

mute :

boolean

True for mute, false for unmute.

Returns
This function does not return any values.
Parameters

peer_id :

string

Id of the peer to get mute status for.

Returns

boolean

True if muted.

Parameters

volume :

number

Volume level to use.

Returns
This function does not return any values.
Parameters
This function does not accept any parameters.
Returns
This function does not return any values.
Parameters
This function does not accept any parameters.
Returns

number

Speaker volume level.

Tables

Contains details about a single available room, returned by each call to stingray.PsnRoomBrowser.room().
Contains information about a single member of a PSN room, returned by each call to stingray.PsnRoom.member().