Skip to content

Api > Room > GetChannelPolicy()


Room.GetChannelPolicy(number channelID)⚓︎

Gets the channel policy of the specified channel, if it exists.

Parameters:⚓︎

Name Type Description
channelID number The channel to retrieve. Range[0-255]

Returns:⚓︎

type Description
MLAudioChannelPolicy the channel policy of the specified channelID if exits, nil otherwise

Usage⚓︎

---@type number
local channelID;


local val0 = Room:GetChannelPolicy(channelID)