Class: KodiClient::Types::GUI::StereoscopyMode

Inherits:
Object
  • Object
show all
Extended by:
Extensions::Creatable
Includes:
Extensions::Comparable, Extensions::Iterable
Defined in:
lib/kodi_client/types/gui/stereoscopy_mode_type.rb

Overview

Constant Summary collapse

OFF =
'off'
SPLIT_VERTICAL =
'split_vertical'
SPLIT_HORIZONTAL =
'split_horizontal'
ROW_INTERLEAVED =
'row_interleaved'
HARDWARE_BASED =
'hardware_based'
ANAGLYPH_CYAN_RED =
'anaglyph_cyan_red'
ANAGLYPH_GREEN_MAGENTA =
'anaglyph_green_magenta'
ANAGLYPH_YELLOW_BLUE =
'anaglyph_yellow_blue'
MONOSCOPIC =
'monoscopic'

Instance Attribute Summary collapse

Instance Method Summary collapse

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::Iterable

#all_properties

Methods included from Extensions::Comparable

#==, #compare

Constructor Details

#initialize(label, mode) ⇒ StereoscopyMode

Returns a new instance of StereoscopyMode.



24
25
26
27
# File 'lib/kodi_client/types/gui/stereoscopy_mode_type.rb', line 24

def initialize(label, mode)
  @label = label
  @mode = mode
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



12
13
14
# File 'lib/kodi_client/types/gui/stereoscopy_mode_type.rb', line 12

def label
  @label
end

#modeObject (readonly)

Returns the value of attribute mode.



12
13
14
# File 'lib/kodi_client/types/gui/stereoscopy_mode_type.rb', line 12

def mode
  @mode
end