The IMediaPlayer type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ![]() |
![]() | Pause |
Toggles pause on the player.
|
![]() | Play |
Plays the player.
|
![]() | Stop |
Stops the player.
|
Properties
Name | Description | |
---|---|---|
![]() | IsPausable |
Can the player be paused?
|
![]() | IsPlaying |
Is the player playing?
|
![]() | IsSeekable |
Is the player seekable?
|
![]() | Length |
Gets the length of the current media.
|
![]() | Media |
Gets/Sets the current media.
|
![]() | Position |
Gets/Sets the current position of the current media (percentage between 0.0 and 1.0).
|
![]() | Rate |
Gets/Sets the requested playback rate.
|
![]() | State |
Gets the current player state.
|
![]() | Time |
Gets/Sets the current time of the current media (in milliseconds).
|
![]() | WillPlay |
Will the player play if Play() |
Events
Name | Description | |
---|---|---|
![]() | Backward |
Called when state changes to Field ValueType:LIBVLC_STATE.BACKWARD |
![]() | Buffering |
Called when state changes to Field ValueType:LIBVLC_STATE.BUFFERING. The percentage complete is passed in the event args. |
![]() | EncounteredError |
Called when the media player encounters an error. The exception is passed in the event args.
|
![]() | EndReached |
Called when state changes to Field ValueType:LIBVLC_STATE.END_REACHED |
![]() | Forward |
Called when state changes to Field ValueType:LIBVLC_STATE.FORWARD |
![]() | IsPausableChanged |
Called when IsPausable |
![]() | IsSeekableChanged |
Called when IsSeekable |
![]() | LengthChanged |
Called when the media player's length is changed. The new length is passed in the event args.
|
![]() | MediaChanged |
Called when the media is changed. The new media is passed in the event args.
|
![]() | NothingSpecial |
Called when state changes to Field ValueType:LIBVLC_STATE.NOTHING_SPECIAL |
![]() | Opening |
Called when state changes to Field ValueType:LIBVLC_STATE.OPENING |
![]() | Paused |
Called when state changes to Field ValueType:LIBVLC_STATE.PAUSED |
![]() | Playing |
Called when state changes to Field ValueType:LIBVLC_STATE.PLAYING |
![]() | PositionChanged |
Called when the media player's position changes. The new position is passed in the event args.
|
![]() | Stopped |
Called when state changes to Field ValueType:LIBVLC_STATE.STOPPED |
![]() | TimeChanged |
Called when the media player's Time changes. The new time is passed in the event args.
|
See Also