Class: OBS::WebSocket::Protocol::Responses::GetSceneItemList
- Inherits:
-
OBS::WebSocket::Protocol::Response
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Response
- OBS::WebSocket::Protocol::Responses::GetSceneItemList
- Defined in:
- lib/obs/websocket/protocol.rb
Overview
Instance Attribute Summary collapse
-
#scene_items ⇒ Array<Hash>
readonly
sceneItems
field. -
#scene_name ⇒ String
readonly
sceneName
field.
Method Summary
Methods inherited from OBS::WebSocket::Protocol::Response
Constructor Details
This class inherits a constructor from OBS::WebSocket::Protocol::Response
Instance Attribute Details
#scene_items ⇒ Array<Hash> (readonly)
Returns 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 |