Skip to main content
Member of ML.SDK.MassiveLoopRoom
Method | Static

bool MassiveLoopRoom.TryCreateOrUpdateChannel(byte channelId, MLAudioChannelPolicy policy)

static bool MassiveLoopRoom.TryCreateOrUpdateChannel(byte channelId, MLAudioChannelPolicy policy);

Parameters

ParameterTypeDescription
channelIdbyteChannel ID range [0 - 255].
policyMLAudioChannelPolicyChannel policy to be used for this channel.

Returns

bool

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).