Class: KodiClient::Types::GUI::StereoscopyMode
- Inherits:
-
Object
- Object
- KodiClient::Types::GUI::StereoscopyMode
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable, Extensions::Iterable
- Defined in:
- lib/kodi_client/types/gui/stereoscopy_mode_type.rb
Overview
GUI.Stereoscopy.Mode kodi.wiki/view/JSON-RPC_API/v12#GUI.Stereoscopy.Mode
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
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
Instance Method Summary collapse
-
#initialize(label, mode) ⇒ StereoscopyMode
constructor
A new instance of StereoscopyMode.
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
Methods included from Extensions::Comparable
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
#label ⇒ Object (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 |
#mode ⇒ Object (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 |