SourceAddedEventData

The data class for source-added event data in Observer

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

Constructors

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

Functions

component1
Link copied to clipboard
operator fun component1(): Long
component2
Link copied to clipboard
operator fun component2(): Long?
component3
Link copied to clipboard
operator fun component3(): String
copy
Link copied to clipboard
fun copy(begin: Long, end: Long?, id: String): SourceAddedEventData
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

begin
Link copied to clipboard

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

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

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

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

The ID of the added source.

@SerializedName(value = "id")
val id: String