aardio 文档

libvlc.eventManager 库模块帮助文档

vlcEventManagerObject 成员列表

vlcEventManagerObject.mediaPlayerBackward

vlcEventManagerObject.mediaPlayerBackward = function(event){
    io.print("mediaPlayerBackward")
}

vlcEventManagerObject.mediaPlayerBuffering

vlcEventManagerObject.mediaPlayerBuffering = function(event){
    io.print("mediaPlayerBuffering",event.newCache)
}

vlcEventManagerObject.mediaPlayerESAdded

vlcEventManagerObject.mediaPlayerESAdded = function(event){
    io.print("mediaPlayerESAdded",event.newScrambled)
}

vlcEventManagerObject.mediaPlayerESDeleted

vlcEventManagerObject.mediaPlayerESDeleted = function(event){
    io.print("mediaPlayerESDeleted",event.newScrambled)
}

vlcEventManagerObject.mediaPlayerESSelected

vlcEventManagerObject.mediaPlayerESSelected = function(event){
    io.print("mediaPlayerESSelected",event.newScrambled)
}

vlcEventManagerObject.mediaPlayerEncounteredError

vlcEventManagerObject.mediaPlayerEncounteredError = function(event){
    io.print("mediaPlayerEncounteredError")
}

vlcEventManagerObject.mediaPlayerEndReached

vlcEventManagerObject.mediaPlayerEndReached = function(event){
    io.print("mediaPlayerEndReached")
}

vlcEventManagerObject.mediaPlayerForward

vlcEventManagerObject.mediaPlayerForward = function(event){
    io.print("mediaPlayerForward")
}

vlcEventManagerObject.mediaPlayerLengthChanged

vlcEventManagerObject.mediaPlayerLengthChanged = function(event){
    io.print("mediaPlayerSnapshotTaken",event.newLength)
}

vlcEventManagerObject.mediaPlayerMediaChanged

vlcEventManagerObject.mediaPlayerMediaChanged = function(event){
    io.print("mediaPlayerPositionChanged",event.newMedia)
}

vlcEventManagerObject.mediaPlayerNothingSpecial

vlcEventManagerObject.mediaPlayerNothingSpecial = function(event){
    io.print("mediaPlayerNothingSpecial",event.metaType)
}

vlcEventManagerObject.mediaPlayerOpening

vlcEventManagerObject.mediaPlayerOpening = function(event){
    io.print("mediaPlayerOpening",event.newPosition)
}

vlcEventManagerObject.mediaPlayerPausableChanged

vlcEventManagerObject.mediaPlayerPausableChanged = function(event){
    io.print("mediaPlayerPausableChanged",event.metaType)
}

vlcEventManagerObject.mediaPlayerPaused

vlcEventManagerObject.mediaPlayerPaused = function(event){
    io.print("mediaPlayerPaused")
}

vlcEventManagerObject.mediaPlayerPlaying

vlcEventManagerObject.mediaPlayerPlaying = function(event){
    io.print("mediaPlayerPlaying")
}

vlcEventManagerObject.mediaPlayerPositionChanged

vlcEventManagerObject.mediaPlayerPositionChanged = function(event){
    io.print("mediaPlayerPositionChanged",event.newPosition)
}

vlcEventManagerObject.mediaPlayerScrambledChanged

vlcEventManagerObject.mediaPlayerScrambledChanged = function(event){
    io.print("mediaPlayerScrambledChanged",event.newScrambled)
}

vlcEventManagerObject.mediaPlayerSeekableChanged

vlcEventManagerObject.mediaPlayerSeekableChanged = function(event){
    io.print("mediaPlayerSeekableChanged",event.newSeekable)
}

vlcEventManagerObject.mediaPlayerSnapshotTaken

vlcEventManagerObject.mediaPlayerSnapshotTaken = function(event){
    var filename = ..string.fromto(event.pUtfFilename,65001,0,true);
    io.print("mediaPlayerSnapshotTaken",filename)
}

vlcEventManagerObject.mediaPlayerStopped

vlcEventManagerObject.mediaPlayerStopped = function(event){
    io.print("mediaPlayerStopped")
}

vlcEventManagerObject.mediaPlayerTimeChanged

vlcEventManagerObject.mediaPlayerTimeChanged = function(event){
    io.print("mediaPlayerPositionChanged",event.newTime)
}

vlcEventManagerObject.mediaPlayerTitleChanged

vlcEventManagerObject.mediaPlayerTitleChanged = function(event){
    io.print("mediaPlayerTitleChanged",event.newTitle)
}

vlcEventManagerObject.mediaPlayerVout

vlcEventManagerObject.mediaPlayerVout = function(event){
    io.print("mediaPlayerVout",event.newCount)
}

Markdown 格式