Class: OBS::WebSocket::Protocol::Events::SourceRenamed

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

#new_nameString (readonly)

Returns newName field.

Returns:

  • (String)

    newName field



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

def new_name; get_field("newName", Types::String); end

#previous_nameString (readonly)

Returns previousName field.

Returns:

  • (String)

    previousName field



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

def previous_name; get_field("previousName", Types::String); end

#source_typeString (readonly)

Returns sourceType field.

Returns:

  • (String)

    sourceType field



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

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