MediaPlayer
MediaPlayer is used to play audio files
app.CreateMediaPlayer()Options
Methods
- id
- Destroy()
- Release()
- GetType()
- SetFile( file )
- SetLooping( loop )
- Close()
- Play( from )
- Pause()
- Stop()
- IsReady()
- IsPlaying()
- IsLooping()
- SeekTo( time )
- GetPosition()
- GetDuration()
- SetVolume( left,right )
- SetOnReady( callback )
- SetOnComplete( callback )
- SetOnSeekDone( callback )