createTimeline

abstract fun createTimeline(eventId: String?, settings: TimelineSettings): Timeline

Instantiate a Timeline with an optional initial eventId, to be used with permalink. You can also configure some settings with the settings param.

Important: the returned Timeline has to be started

Return

the instantiated timeline

Parameters

eventId

the optional initial eventId.

settings

settings to configure the timeline.