Class: KodiClient::Types::Player::PlayerViewMode
- Inherits:
-
Object
- Object
- KodiClient::Types::Player::PlayerViewMode
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable
- Defined in:
- lib/kodi_client/types/player/player_view_mode_type.rb
Overview
return value for Player.GetViewMode
Instance Attribute Summary collapse
-
#nonlinear_stretch ⇒ Object
readonly
Returns the value of attribute nonlinear_stretch.
-
#pixel_ratio ⇒ Object
readonly
Returns the value of attribute pixel_ratio.
-
#vertical_shift ⇒ Object
readonly
Returns the value of attribute vertical_shift.
-
#view_mode ⇒ Object
readonly
Returns the value of attribute view_mode.
-
#zoom ⇒ Object
readonly
Returns the value of attribute zoom.
Instance Method Summary collapse
-
#initialize(nonlinear_stretch, pixel_ratio, vertical_shift, view_mode, zoom) ⇒ PlayerViewMode
constructor
A new instance of PlayerViewMode.
Methods included from Extensions::Creatable
arr_to_mapping, attr_accessor, attr_reader, attr_writer, create, create_list, extract_field_from_hash, fields_to_map, hash_to_arr, type_mapping
Methods included from Extensions::Comparable
Constructor Details
#initialize(nonlinear_stretch, pixel_ratio, vertical_shift, view_mode, zoom) ⇒ PlayerViewMode
Returns a new instance of PlayerViewMode.
13 14 15 16 17 18 19 |
# File 'lib/kodi_client/types/player/player_view_mode_type.rb', line 13 def initialize(nonlinear_stretch, pixel_ratio, vertical_shift, view_mode, zoom) @nonlinear_stretch = nonlinear_stretch @pixel_ratio = pixel_ratio @vertical_shift = vertical_shift @view_mode = view_mode @zoom = zoom end |
Instance Attribute Details
#nonlinear_stretch ⇒ Object (readonly)
Returns the value of attribute nonlinear_stretch.
11 12 13 |
# File 'lib/kodi_client/types/player/player_view_mode_type.rb', line 11 def nonlinear_stretch @nonlinear_stretch end |
#pixel_ratio ⇒ Object (readonly)
Returns the value of attribute pixel_ratio.
11 12 13 |
# File 'lib/kodi_client/types/player/player_view_mode_type.rb', line 11 def pixel_ratio @pixel_ratio end |
#vertical_shift ⇒ Object (readonly)
Returns the value of attribute vertical_shift.
11 12 13 |
# File 'lib/kodi_client/types/player/player_view_mode_type.rb', line 11 def vertical_shift @vertical_shift end |
#view_mode ⇒ Object (readonly)
Returns the value of attribute view_mode.
11 12 13 |
# File 'lib/kodi_client/types/player/player_view_mode_type.rb', line 11 def view_mode @view_mode end |
#zoom ⇒ Object (readonly)
Returns the value of attribute zoom.
11 12 13 |
# File 'lib/kodi_client/types/player/player_view_mode_type.rb', line 11 def zoom @zoom end |