Class: OBS::WebSocket::Protocol::Responses::GetSceneItemList

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

#scene_itemsArray<Hash> (readonly)

Returns sceneItems field.

Returns:

  • (Array<Hash>)

    sceneItems field



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

def scene_items; get_field("sceneItems", Types::Array[Types::Object[{:item_id=>{:type=>Types::Integer, :json_name=>"itemId"}, :source_kind=>{:type=>Types::String, :json_name=>"sourceKind"}, :source_name=>{:type=>Types::String, :json_name=>"sourceName"}, :source_type=>{:type=>Types::String, :json_name=>"sourceType"}}]]); end

#scene_nameString (readonly)

Returns sceneName field.

Returns:

  • (String)

    sceneName field



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

def scene_name; get_field("sceneName", Types::String); end