Class: OBS::WebSocket::Protocol::Responses::GetBrowserSourceProperties

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

#cssString (readonly)

Returns css field.

Returns:

  • (String)

    css field



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

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

#fpsInteger (readonly)

Returns fps field.

Returns:

  • (Integer)

    fps field



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

def fps; get_field("fps", Types::Integer); end

#heightInteger (readonly)

Returns height field.

Returns:

  • (Integer)

    height field



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

def height; get_field("height", Types::Integer); end

#is_local_fileBoolean (readonly)

Returns is_local_file field.

Returns:

  • (Boolean)

    is_local_file field



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

def is_local_file; get_field("is_local_file", Types::Boolean); end

#local_fileString (readonly)

Returns local_file field.

Returns:

  • (String)

    local_file field



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

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

#shutdownBoolean (readonly)

Returns shutdown field.

Returns:

  • (Boolean)

    shutdown field



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

def shutdown; get_field("shutdown", Types::Boolean); end

#sourceString (readonly)

Returns source field.

Returns:

  • (String)

    source field



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

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

#urlString (readonly)

Returns url field.

Returns:

  • (String)

    url field



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

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

#widthInteger (readonly)

Returns width field.

Returns:

  • (Integer)

    width field



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

def width; get_field("width", Types::Integer); end