Host

class Host : Serializable, LiveEventUser

A class that provides general information about a host in a live event.

Since

1.0.0

Properties

Link copied to clipboard
var connectedAt: Long?

Timestamp when the host was connected to the live event.

Link copied to clipboard
var disconnectedAt: Long?

Timestamp when the host was disconnected from the live event.

Link copied to clipboard
val duration: Long

The period from the time when the host entered the live event to the time the host exited the live event.

Link copied to clipboard
var enteredAt: Long?

Timestamp when the host entered the live event.

Link copied to clipboard
var exitedAt: Long?

Timestamp when the host exited the live event.

Link copied to clipboard
var hostId: String

The unique ID of the host. Host ID is generated each time the user enters a live event as a host.

Link copied to clipboard
var isAudioOn: Boolean

Indicates whether the host has turned on their audio.

Link copied to clipboard
var isVideoOn: Boolean

Indicates whether the host has turned on their video.

Link copied to clipboard
var liveEventId: String

The unique ID of the live event.

Link copied to clipboard
open override val liveEventUserId: String
Link copied to clipboard
var nickname: String

The nickname of the user.

Link copied to clipboard
var profileURL: String

The profile image of the user.

Link copied to clipboard
var rtmpStream: RTMPStreamData?
Link copied to clipboard
var state: HostState

The state of the host. Valid values are the following: entered, connected, disconnected, and exited.

Link copied to clipboard
var streamType: StreamType
Link copied to clipboard
var userId: String

The unique ID of the user.