Class: OBS::WebSocket::Protocol::Responses::GetMediaDuration

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

#media_durationInteger (readonly)

Returns mediaDuration field.

Returns:

  • (Integer)

    mediaDuration field



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

def media_duration; get_field("mediaDuration", Types::Integer); end