Class GetStreamingStatus.Response
- java.lang.Object
-
- nl.harm27.obs.websocket.api.base.BaseResponse
-
- nl.harm27.obs.websocket.api.requests.streaming.GetStreamingStatus.Response
-
- Enclosing class:
- GetStreamingStatus
public static class GetStreamingStatus.Response extends BaseResponse
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>
getRecTimecode()
Time elapsed since recording started (only present if currently recording).Optional<String>
getStreamTimecode()
Time elapsed since streaming started (only present if currently streaming).Optional<String>
getVirtualcamTimecode()
Time elapsed since virtual cam started (only present if virtual cam currently active).boolean
isPreviewOnly()
Always false.boolean
isRecording()
Current recording status.boolean
isRecordingPaused()
If recording is paused.boolean
isStreaming()
Current streaming status.boolean
isVirtualcam()
Current virtual cam status.-
Methods inherited from class nl.harm27.obs.websocket.api.base.BaseResponse
getError, getMessageId, getStatus
-
-
-
-
Method Detail
-
isStreaming
public boolean isStreaming()
Current streaming status.
-
isRecording
public boolean isRecording()
Current recording status.
-
isRecordingPaused
public boolean isRecordingPaused()
If recording is paused.
-
isVirtualcam
public boolean isVirtualcam()
Current virtual cam status.
-
isPreviewOnly
public boolean isPreviewOnly()
Always false. Retrocompatibility with OBSRemote.
-
getStreamTimecode
public Optional<String> getStreamTimecode()
Time elapsed since streaming started (only present if currently streaming).
-
getRecTimecode
public Optional<String> getRecTimecode()
Time elapsed since recording started (only present if currently recording).
-
-