get Timeline Event Live
abstract fun getTimelineEventLive(eventId: String): LiveData<Optional<TimelineEvent>>
Content copied to clipboard
Creates a LiveData of Optional TimelineEvent event with eventId. If the eventId is a local echo eventId, it will make the LiveData be updated with the synced TimelineEvent when coming through the sync. In this case, makes sure to use the new synced eventId from the TimelineEvent class if you want to interact, as the local echo is removed from the SDK.
Parameters
event Id
the eventId to listen for TimelineEvent