This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
built_in:mediaplayer [2014/12/18 20:12] bcarroll created |
built_in:mediaplayer [2015/11/02 19:19] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Methods ===== | ===== Methods ===== | ||
- | ^Method ^Description ^ | + | Some controls use the same methods.\\ |
- | |MediaPlayer.SetFile(p1) | | | + | For examples of the **[[same methods]]** look here. |
- | |MediaPlayer.Close() | | | + | ^ Method |
- | |MediaPlayer.Play() | | | + | | Mediaplayer.Close() | | |
- | |MediaPlayer.Pause() | | | + | | Mediaplayer.GetDuration() | | |
- | |MediaPlayer.Stop() | | | + | | Mediaplayer.GetType() | | |
- | |MediaPlayer.IsReady() | | | + | | Mediaplayer.IsLooping() | | |
- | |MediaPlayer.IsPlaying() | | | + | | Mediaplayer.IsPlaying() | | |
- | |MediaPlayer.IsLooping() | | | + | | Mediaplayer.IsReady() |
- | |MediaPlayer.SeekTo(p1) | | | + | | Mediaplayer.Pause() | | |
- | |MediaPlayer.GetPosition() | | | + | | Mediaplayer.Play() |
- | |MediaPlayer.GetDuration() | | | + | | Mediaplayer.Release() | | |
- | |MediaPlayer.SetVolume(p1,p2) | | | + | | Mediaplayer.SeekTo( |
- | |MediaPlayer.SetOnReady(p1) | | | + | | Mediaplayer.SetFile( filename |
- | |MediaPlayer.SetOnComplete(p1) | | | + | | Mediaplayer.SetLooping( loop ) |
- | |MediaPlayer.SetOnSeekDone(p1) | | | + | | Mediaplayer.SetOnComplete( callback |
+ | | Mediaplayer.SetOnReady( | ||
+ | | Mediaplayer.SetOnSeekDone( callback | ||
+ | | Mediaplayer.SetVolume( left,right ) | | | ||
+ | | Mediaplayer.Stop() | ||