class Player::Media
- Player::Media
- Reference
- Object
Defined in:
mediaplayer/mediaplayer.crConstructors
Instance Method Summary
- #==(media : Media)
- #finalize
- #get_formatted_length(format : Time::Format = Time::Format.new("%M:%S")) : String
- #get_length : LibVlc::Time
- #get_meta(meta : LibVlc::Meta) : String
- #obj : Pointer(Pointer(Void))
- #obj=(obj : Pointer(Pointer(Void)))
- #off(event : LibVlc::Event, proc : LibVlc::Callback, user_data = nil)
- #off(event : LibVlc::Event, user_data = nil, &block : Pointer(LibVlc::EventData), Pointer(Void) -> Nil)
- #on(event : LibVlc::Event, proc : LibVlc::Callback, user_data = nil)
- #on(event : LibVlc::Event, user_data = nil, &block : Pointer(LibVlc::EventData), Pointer(Void) -> Nil)
- #parse(options : Player::MediaParseFlag = Player::MediaParseFlag::ParseLocal, timeout = 0)
- #parsed_status : LibVlc::MediaParsedStatus
- #save_meta : Bool
- #set_meta(meta : LibVLc::Meta, value)
- #state : LibVlc::State
- #stats : Pointer(LibVlc::MediaStats)
- #subitems : MediaList
- #type : LibVlc::MediaType
- #url
Constructor Detail
Instance Method Detail
def off(event : LibVlc::Event, user_data = nil, &block : Pointer(LibVlc::EventData), Pointer(Void) -> Nil)
#
def on(event : LibVlc::Event, user_data = nil, &block : Pointer(LibVlc::EventData), Pointer(Void) -> Nil)
#