Package live.hms.video.sdk.models
Class HMSRtmpStreamingState
-
- All Implemented Interfaces:
public final class HMSRtmpStreamingStateDetails on the RTMPs streaming state.
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleanrunningprivate final HMSExceptionerrorprivate final LongstartedAtprivate final LongstoppedAtprivate HMSStreamingStatestate
-
Constructor Summary
Constructors Constructor Description HMSRtmpStreamingState(Boolean running, HMSException error, Long startedAt, Long stoppedAt, HMSStreamingState state)
-
Method Summary
Modifier and Type Method Description final BooleangetRunning()final HMSExceptiongetError()final LonggetStartedAt()final LonggetStoppedAt()final HMSStreamingStategetState()final UnitsetState(HMSStreamingState state)-
-
Constructor Detail
-
HMSRtmpStreamingState
HMSRtmpStreamingState(Boolean running, HMSException error, Long startedAt, Long stoppedAt, HMSStreamingState state)
- Parameters:
running- true if the room is currently being streamed false otherwise.error- null if there was no exception during streaming, present otherwise.
-
-
Method Detail
-
getRunning
final Boolean getRunning()
-
getError
final HMSException getError()
-
getStartedAt
final Long getStartedAt()
-
getStoppedAt
final Long getStoppedAt()
-
getState
final HMSStreamingState getState()
-
setState
final Unit setState(HMSStreamingState state)
-
-
-
-