/** * Stops the playback. */ public void Stop() { LibVLC.PlayerStop(Handle, ex); Raise(); }
/** * Pauses the playback. */ public void Pause() { LibVLC.PlayerPause(Handle, ex); Raise(); }
/** * Starts playing the selected media. */ public void Play() { LibVLC.PlayerPlay(Handle, ex); Raise(); }
internal override EventManagerHandle GetManager() { return(LibVLC.PlayerEventManager(Handle, null)); }
/** * Creates a player object for a given a media. * * @param media media object */ public Player(Media media) { this.media = media; handle = LibVLC.PlayerCreateFromMedia(media.Handle, ex); Raise(); }
/** * NonNullHandle.Destroy */ protected override void Destroy() { LibVLC.Free(handle); }