Class: OBS::WebSocket::Protocol::Events::SourceFiltersReordered

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

#filtersArray<Hash> (readonly)

Returns filters field.

Returns:

  • (Array<Hash>)

    filters field



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

def filters; get_field("filters", Types::Array[Types::Object[{:name=>{:type=>Types::String, :json_name=>"name"}, :type=>{:type=>Types::String, :json_name=>"type"}, :enabled=>{:type=>Types::Boolean, :json_name=>"enabled"}}]]); end

#source_nameString (readonly)

Returns sourceName field.

Returns:

  • (String)

    sourceName field



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

def source_name; get_field("sourceName", Types::String); end