Developer Documentation

OdinClient.JoinNamedRoom

public async Task<Room> JoinNamedRoom(string roomalias, string token, IUserData userData = null, Action<Room> setup = null)

Join or create a named Room by token via a gateway

Parameters

NameTypeDescription
roomaliasStringRoom alias
tokenStringRoom token
userDataIUserDataSet new on room join
setupAction<Room>will invoke to setup a room before adding or joining

Returns

TypeDescription
Task<Room>or null