class M3U8::MediaItem
- M3U8::MediaItem
- Reference
- Object
Overview
MediaItem represents a set of EXT-X-MEDIA attributes
Included Modules
- M3U8::Concern
Extended Modules
- M3U8::Concern
Defined in:
m3u8/media_item.crConstructors
- .new(params : NamedTuple = NamedTuple.new)
- .new(type : Nil | String = nil, group_id : Nil | String = nil, language : Nil | String = nil, assoc_language : Nil | String = nil, name : Nil | String = nil, uri : Nil | String = nil, autoselect : Bool | Nil = nil, default : Bool | Nil = nil, forced : Bool | Nil = nil, instream_id : Nil | String = nil, characteristics : Nil | String = nil, channels : Nil | String = nil)
Class Method Summary
Instance Method Summary
- #assoc_language : String | Nil
- #assoc_language=(assoc_language : String | Nil)
- #autoselect : Bool | Nil
- #autoselect=(autoselect : Bool | Nil)
- #channels : String | Nil
- #channels=(channels : String | Nil)
- #characteristics : String | Nil
- #characteristics=(characteristics : String | Nil)
- #default : Bool | Nil
- #default=(default : Bool | Nil)
- #forced : Bool | Nil
- #forced=(forced : Bool | Nil)
- #group_id : String | Nil
- #group_id=(group_id : String | Nil)
- #instream_id : String | Nil
- #instream_id=(instream_id : String | Nil)
- #language : String | Nil
- #language=(language : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #type : String | Nil
- #type=(type : String | Nil)
- #uri : String | Nil
- #uri=(uri : String | Nil)
Constructor Detail
def self.new(type : Nil | String = nil, group_id : Nil | String = nil, language : Nil | String = nil, assoc_language : Nil | String = nil, name : Nil | String = nil, uri : Nil | String = nil, autoselect : Bool | Nil = nil, default : Bool | Nil = nil, forced : Bool | Nil = nil, instream_id : Nil | String = nil, characteristics : Nil | String = nil, channels : Nil | String = nil)
#
Class Method Detail
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.