Class: KodiClient::Types::Video::StreamDetails
- Inherits:
-
Object
- Object
- KodiClient::Types::Video::StreamDetails
- Extended by:
- Extensions::Creatable
- Includes:
- Extensions::Comparable
- Defined in:
- lib/kodi_client/types/video/stream_details_type.rb
Overview
Video.Streams kodi.wiki/view/JSON-RPC_API/v12#Video.Streams
Instance Attribute Summary collapse
-
#audio ⇒ Object
readonly
Returns the value of attribute audio.
-
#subtitle ⇒ Object
readonly
Returns the value of attribute subtitle.
-
#video ⇒ Object
readonly
Returns the value of attribute video.
Instance Method Summary collapse
-
#initialize(audio, subtitle, video) ⇒ StreamDetails
constructor
A new instance of StreamDetails.
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(audio, subtitle, video) ⇒ StreamDetails
Returns a new instance of StreamDetails.
16 17 18 19 20 |
# File 'lib/kodi_client/types/video/stream_details_type.rb', line 16 def initialize(audio, subtitle, video) @audio = audio @subtitle = subtitle @video = video end |
Instance Attribute Details
#audio ⇒ Object (readonly)
Returns the value of attribute audio.
11 12 13 |
# File 'lib/kodi_client/types/video/stream_details_type.rb', line 11 def audio @audio end |
#subtitle ⇒ Object (readonly)
Returns the value of attribute subtitle.
11 12 13 |
# File 'lib/kodi_client/types/video/stream_details_type.rb', line 11 def subtitle @subtitle end |
#video ⇒ Object (readonly)
Returns the value of attribute video.
11 12 13 |
# File 'lib/kodi_client/types/video/stream_details_type.rb', line 11 def video @video end |