Class: OBS::WebSocket::Protocol::Events::StudioModeSwitched

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Event

create, #initialize, json_name, #rec_timecode, #stream_timecode, #to_h, #update_type

Constructor Details

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

Instance Attribute Details

#new_stateBoolean (readonly)

Returns new-state field.

Returns:

  • (Boolean)

    new-state field



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

def new_state; get_field("new-state", Types::Boolean); end