Package nl.harm27.obs.websocket.api.base
Class BaseEvent
- java.lang.Object
- 
- nl.harm27.obs.websocket.api.base.BaseEvent
 
- 
- Direct Known Subclasses:
- BroadcastCustomMessage,- Exiting,- Heartbeat,- MediaEnded,- MediaNext,- MediaPaused,- MediaPlaying,- MediaPrevious,- MediaRestarted,- MediaStarted,- MediaStopped,- PreviewSceneChanged,- ProfileChanged,- ProfileListChanged,- RecordingPaused,- RecordingResumed,- RecordingStarted,- RecordingStarting,- RecordingStopped,- RecordingStopping,- ReplayStarted,- ReplayStarting,- ReplayStopped,- ReplayStopping,- SceneCollectionChanged,- SceneCollectionListChanged,- SceneItemAdded,- SceneItemDeselected,- SceneItemLockChanged,- SceneItemRemoved,- SceneItemSelected,- SceneItemTransformChanged,- SceneItemVisibilityChanged,- ScenesChanged,- SourceAudioActivated,- SourceAudioDeactivated,- SourceAudioMixersChanged,- SourceAudioSyncOffsetChanged,- SourceCreated,- SourceDestroyed,- SourceFilterAdded,- SourceFilterRemoved,- SourceFiltersReordered,- SourceFilterVisibilityChanged,- SourceMuteStateChanged,- SourceOrderChanged,- SourceRenamed,- SourceVolumeChanged,- StreamStarted,- StreamStarting,- StreamStatus,- StreamStopped,- StreamStopping,- StudioModeSwitched,- SwitchScenes,- SwitchTransition,- TransitionBegin,- TransitionDurationChanged,- TransitionEnd,- TransitionListChanged,- TransitionVideoEnd,- VirtualCamStarted,- VirtualCamStopped
 
 public abstract class BaseEvent extends Object Events are broadcast by the server to each connected client when a recognized action occurs within OBS.- See Also:
- OBS WebSocket Documentation
 
- 
- 
Constructor SummaryConstructors Constructor Description BaseEvent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Duration>getRecordingDuration()Time elapsed between now and recording start (only present if OBS Studio is recording) as duration.Optional<String>getRecordingTimecode()Time elapsed between now and recording start (only present if OBS Studio is recording) as string.Optional<Duration>getStreamDuration()Time elapsed between now and stream start (only present if OBS Studio is streaming) as duration.Optional<String>getStreamTimecode()Time elapsed between now and stream start (only present if OBS Studio is streaming) as string.EventTypegetUpdateType()Enum constants for names of the event types.
 
- 
- 
- 
Method Detail- 
getUpdateTypepublic EventType getUpdateType() Enum constants for names of the event types.
 - 
getStreamTimecodepublic Optional<String> getStreamTimecode() Time elapsed between now and stream start (only present if OBS Studio is streaming) as string.
 - 
getStreamDurationpublic Optional<Duration> getStreamDuration() Time elapsed between now and stream start (only present if OBS Studio is streaming) as duration.
 - 
getRecordingTimecodepublic Optional<String> getRecordingTimecode() Time elapsed between now and recording start (only present if OBS Studio is recording) as string.
 
- 
 
-