Package | no.arton.guitarplayer.file |
Class | public class SQLiteManager |
Inheritance | SQLiteManager flash.events.EventDispatcher |
Method | Defined by | ||
---|---|---|---|
constructor
| SQLiteManager | ||
getPlayList():Array
Returns the play list fetched from the database.
| SQLiteManager | ||
openDatabase():void
| SQLiteManager | ||
queryPlayList():void
selects all fields from the recentFiles table
| SQLiteManager | ||
updatePlayList(playList:Array):void
First it deletes all previous data and insert the updated play list.
| SQLiteManager |
SQLiteManager | () | constructor |
public function SQLiteManager()
constructor
getPlayList | () | method |
public function getPlayList():Array
Returns the play list fetched from the database. Run queryPlayList first and wait for SQLEvent.RESULT to be dispatched, then you can call getPlayList to get the updated play list.
ReturnsArray |
openDatabase | () | method |
public function openDatabase():void
queryPlayList | () | method |
public function queryPlayList():void
selects all fields from the recentFiles table
updatePlayList | () | method |
public function updatePlayList(playList:Array):void
First it deletes all previous data and insert the updated play list. BRUTE FORCE! :D
ParametersplayList:Array |