Method SetChannelVolumeAsync
SetChannelVolumeAsync(string, int)
Sets the volume of an entire channel for the local user. This will adjust the volume of player audio for all players in a channel for the local user. Volume value is clamped between -50 and 50 with a default of 0.
Declaration
Task SetChannelVolumeAsync(string channelName, int value)
Parameters
Type | Name | Description |
---|---|---|
string | channelName | The name of the channel to set the volume value for |
int | value | Volume value to be used - clamped between -50 and 50 with a default value of 0 |
Returns
Type | Description |
---|---|
Task | Task for the operation |