saveDraft

open fun saveDraft(@NonNull event: Event)

Save an event as a draft.

This method saves a draft event. There can be one draft event saved for each stream and one draft event with no associated stream. If there already was a draft event for the stream specified in the event, or if the event has no stream associated and there already was a draft event without stream, that event is overwritten.

Parameters

event

Event to save.

See also