Class: OBS::WebSocket::Protocol::Responses::GetMediaState

Inherits:
OBS::WebSocket::Protocol::Response show all
Defined in:
lib/obs/websocket/protocol.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Response

#initialize, #to_h

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Response

Instance Attribute Details

#media_stateString (readonly)

Returns mediaState field.

Returns:

  • (String)

    mediaState field



3607
# File 'lib/obs/websocket/protocol.rb', line 3607

def media_state; get_field("mediaState", Types::String); end