Class: OBS::WebSocket::Protocol::Responses::GetCurrentTransition

Inherits:
OBS::WebSocket::Protocol::Response show all
Defined in:
lib/obs/websocket/protocol.rb

Overview

Instance Attribute Summary collapse

Method Summary

Methods inherited from OBS::WebSocket::Protocol::Response

#initialize, #to_h

Constructor Details

This class inherits a constructor from OBS::WebSocket::Protocol::Response

Instance Attribute Details

#durationInteger? (readonly)

Returns duration field.

Returns:

  • (Integer, nil)

    duration field



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

def duration; get_field("duration", Types::Optional[Types::Integer]); end

#nameString (readonly)

Returns name field.

Returns:

  • (String)

    name field



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

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