Class: OBS::WebSocket::Protocol::Events::SceneItemAdded

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

#item_idInteger (readonly)

Returns item-id field.

Returns:

  • (Integer)

    item-id field



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

def item_id; get_field("item-id", Types::Integer); end

#item_nameString (readonly)

Returns item-name field.

Returns:

  • (String)

    item-name field



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

def item_name; get_field("item-name", Types::String); end

#scene_nameString (readonly)

Returns scene-name field.

Returns:

  • (String)

    scene-name field



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

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