Class: OBS::WebSocket::Protocol::Events::SourceCreated
- Inherits:
-
OBS::WebSocket::Protocol::Event
- Object
- ServerMessage
- OBS::WebSocket::Protocol::Event
- OBS::WebSocket::Protocol::Events::SourceCreated
- Defined in:
- lib/obs/websocket/protocol.rb
Instance Attribute Summary collapse
-
#source_kind ⇒ String
readonly
sourceKind
field. -
#source_name ⇒ String
readonly
sourceName
field. -
#source_settings ⇒ Hash
readonly
sourceSettings
field. -
#source_type ⇒ String
readonly
sourceType
field.
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.
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.
354 |
# File 'lib/obs/websocket/protocol.rb', line 354 def source_name; get_field("sourceName", Types::String); end |