Skip to main content

Room.GetChannelPolicy(number channelID)

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

Parameters:

NameTypeDescription
channelIDnumberThe channel to retrieve. Range[0-255]

Returns:

typeDescription
MLAudioChannelPolicythe channel policy of the specified channelID if exits, nil otherwise

Usage

---@type number
local channelID;


local val0 = Room:GetChannelPolicy(channelID)