Member of ML.SDK.MassiveLoopRoom
Method | Static
bool MassiveLoopRoom.TryCreateOrUpdateChannel(byte channelId, MLAudioChannelPolicy policy)
static bool MassiveLoopRoom.TryCreateOrUpdateChannel(byte channelId, MLAudioChannelPolicy policy);
Parameters
Parameter | Type | Description |
---|---|---|
channelId | byte | Channel ID range [0 - 255]. |
policy | MLAudioChannelPolicy | Channel policy to be used for this channel. |
Returns
True if operation could be sent to the server, otherwise false, also return false if channel policy is null.
Summary
Create a channel with the given channel policy if it doesn't exist. Otherwise, updates the channel policy. Changes become active not immediately but when the server executes this operation (approximately RTT/2).