Class: OBS::WebSocket::Protocol::Events::SourceCreated

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

#source_kind ⇒ String (readonly)

Returns sourceKind field.

Returns:

  • (String) —

    sourceKind field



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

def source_kind; get_field("sourceKind", Types::String); end

#source_name ⇒ String (readonly)

Returns sourceName field.

Returns:

  • (String) —

    sourceName field



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

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

#source_settings ⇒ Hash (readonly)

Returns sourceSettings field.

Returns:

  • (Hash) —

    sourceSettings field



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

def source_settings; get_field("sourceSettings", Types::Object); end

#source_type ⇒ String (readonly)

Returns sourceType field.

Returns:

  • (String) —

    sourceType field



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

def source_type; get_field("sourceType", Types::String); end