How to get current room name
# ask-ai
f
How to get current room name
t
Thanks for reaching out, Akshay. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You can get the current room name in LiveKit by accessing the
name
property of the Room object. Here are examples for different platforms: • Android (Kotlin): `val roomName = room.name`The
name
property is annotated with
@FlowObservable
and returns a nullable String. • Swift: `let roomName = room.name`The
name
property is also a nullable String in Swift. Sources: name | Documentation