SourceAddedEventData

data class SourceAddedEventData(val begin: Long, val end: Long?, val id: String)

Deprecated

This data class is deprecated, and will be removed in next major release.

Replace with

SourceAdded

The data class for source-added event data in Observer

Constructors

Link copied to clipboard
fun SourceAddedEventData(begin: Long, end: Long?, id: String)

Properties

Link copied to clipboard
@SerializedName(value = "begin")
val begin: Long

Representing timestamp taken at the time of an event creation, in microseconds, since the epoch.

Link copied to clipboard
@SerializedName(value = "end")
val end: Long?

For an interval events, an optional end property will be present that represents timestamp taken at the time of an event completion.

Link copied to clipboard
@SerializedName(value = "id")
val id: String

The ID of the added source.