IMediaPlayer MembersLibVLCBind Reference Documentation

The IMediaPlayer type exposes the following members.
Methods

  NameDescription
Public methodOnlineDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from OnlineIDisposable.)
Public methodPause
Toggles pause on the player.
Public methodPlay
Plays the player.
Public methodStop
Stops the player.
Back to Top
Properties

  NameDescription
Public propertyIsPausable
Can the player be paused?
Public propertyIsPlaying
Is the player playing?
Public propertyIsSeekable
Is the player seekable?
Public propertyLength
Gets the length of the current media.
Public propertyMedia
Gets/Sets the current media.
Public propertyPosition
Gets/Sets the current position of the current media (percentage between 0.0 and 1.0).
Public propertyRate
Gets/Sets the requested playback rate.
Public propertyState
Gets the current player state.
Public propertyTime
Gets/Sets the current time of the current media (in milliseconds).
Public propertyWillPlay
Will the player play if is called?
Back to Top
Events

  NameDescription
Public eventBackward
Called when state changes to

Field Value

Type:
LIBVLC_STATE.BACKWARD
Public eventBuffering
Called when state changes to

Field Value

Type:
LIBVLC_STATE.BUFFERING. The percentage complete is passed in the event args.
Public eventEncounteredError
Called when the media player encounters an error. The exception is passed in the event args.
Public eventEndReached
Called when state changes to

Field Value

Type:
LIBVLC_STATE.END_REACHED
Public eventForward
Called when state changes to

Field Value

Type:
LIBVLC_STATE.FORWARD
Public eventIsPausableChanged
Called when changes. The new state is passed in the event args.
Public eventIsSeekableChanged
Called when changes. The new state is passed in the event args.
Public eventLengthChanged
Called when the media player's length is changed. The new length is passed in the event args.
Public eventMediaChanged
Called when the media is changed. The new media is passed in the event args.
Public eventNothingSpecial
Called when state changes to

Field Value

Type:
LIBVLC_STATE.NOTHING_SPECIAL
Public eventOpening
Called when state changes to

Field Value

Type:
LIBVLC_STATE.OPENING
Public eventPaused
Called when state changes to

Field Value

Type:
LIBVLC_STATE.PAUSED
Public eventPlaying
Called when state changes to

Field Value

Type:
LIBVLC_STATE.PLAYING
Public eventPositionChanged
Called when the media player's position changes. The new position is passed in the event args.
Public eventStopped
Called when state changes to

Field Value

Type:
LIBVLC_STATE.STOPPED
Public eventTimeChanged
Called when the media player's Time changes. The new time is passed in the event args.
Back to Top
See Also

Web hosting by Somee.com