remove

open fun remove(@NonNull eventIds: Array<Long>)

Remove events.

Parameters

eventIds

Set of IDs of events to remove.


open fun remove(eventId: Long)

Remove an event.

Parameters

eventId

ID of the event to remove.


open fun remove(@NonNull events: Array<Event>)

Remove events.

Parameters

events

Set of events to remove.


open fun remove(@NonNull event: Event)

Remove an event.

Parameters

event

Event to remove.


Remove events.

Parameters

query

Query to match events to remove; nullto match all.


open fun remove(@NonNull key: String)

Remove a stream.

All events in the removed stream are removed as well.

Parameters

key

Key of the stream to remove.


open fun remove(@NonNull stream: EventStream)

Remove a stream.

All events in the removed stream are removed as well.

Parameters

stream

The stream to remove.


Remove streams.

All events in the removed stream are removed as well.

Parameters

query

Query to match event streams to remove; nullto match all.


open fun remove(@NonNull event: Event, @NonNull attachmentId: Long)

Remove attachment belonging to an event.

Parameters

event

Event which owns the attachment to be removed.

attachmentId

id of the attachment to remove