Livekitex.RoomServiceBehaviour behaviour (livekitex v0.1.0)
Behaviour for Livekitex.RoomService.
Summary
Callbacks
@callback create(api_key :: String.t(), api_secret :: String.t(), options :: Keyword.t()) :: Livekitex.RoomService.t()
@callback create_room( room_service :: Livekitex.RoomService.t(), name :: String.t(), options :: Keyword.t() ) :: {:ok, Livekitex.Room.t()} | {:error, any()}
@callback delete_room(room_service :: Livekitex.RoomService.t(), room_name :: String.t()) :: :ok | {:error, any()}
@callback list_participants( room_service :: Livekitex.RoomService.t(), room_name :: String.t() ) :: {:ok, [Livekitex.Participant.t()]} | {:error, any()}
@callback list_rooms(room_service :: Livekitex.RoomService.t(), options :: Keyword.t()) :: {:ok, [Livekitex.Room.t()]} | {:error, any()}
@callback remove_participant( room_service :: Livekitex.RoomService.t(), room_name :: String.t(), identity :: String.t() ) :: :ok | {:error, any()}