Class: OBS::WebSocket::Protocol::Events::SourceOrderChanged

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

#scene_itemsArray<Hash> (readonly)

Returns scene-items field.

Returns:

  • (Array<Hash>)

    scene-items field



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

def scene_items; get_field("scene-items", Types::Array[Types::Object[{:source_name=>{:type=>Types::String, :json_name=>"source-name"}, :item_id=>{:type=>Types::Integer, :json_name=>"item-id"}}]]); end

#scene_nameString (readonly)

Returns scene-name field.

Returns:

  • (String)

    scene-name field



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

def scene_name; get_field("scene-name", Types::String); end