Class: OBS::WebSocket::Protocol::Responses::GetSceneList

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

#current_sceneString (readonly)

Returns current-scene field.

Returns:

  • (String)

    current-scene field



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

def current_scene; get_field("current-scene", Types::String); end

#scenesArray<Scene> (readonly)

Returns scenes field.

Returns:

  • (Array<Scene>)

    scenes field



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

def scenes; get_field("scenes", Types::Array[Types::Scene]); end