upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
WT5001 Class Reference

Classes

class  WT5001_OPCODE_T
 
class  WT5001_PLAYMODE_T
 
class  WT5001_PLAYSOURCE_T
 

Public Member Functions

synchronized void delete ()
 
 WT5001 (int uart)
 
boolean dataAvailable (long millis)
 
int readData (byte[] buffer)
 
int writeData (byte[] buffer)
 
boolean setupTty (int baud)
 
boolean setupTty ()
 
boolean checkResponse (WT5001.WT5001_OPCODE_T opcode)
 
boolean play (WT5001.WT5001_PLAYSOURCE_T psrc, int index)
 
boolean stop ()
 
boolean pause ()
 
boolean next ()
 
boolean previous ()
 
boolean setVolume (short vol)
 
boolean queue (int index)
 
boolean setPlayMode (WT5001.WT5001_PLAYMODE_T pm)
 
boolean insert (int index)
 
boolean setDate (int year, short month, short day)
 
boolean setTime (short hour, short minute, short second)
 
boolean setAlarm (short hour, short minute, short second)
 
boolean clearAlarm ()
 
short getVolume () throws java.io.IOException
 
short getPlayState () throws java.io.IOException
 
int getNumFiles (WT5001.WT5001_PLAYSOURCE_T psrc) throws java.io.IOException
 
int getCurrentFile () throws java.io.IOException
 
boolean getDate (int[] year, short[] month, short[] day)
 
boolean getTime (short[] hour, short[] minute, short[] second)
 

Protected Member Functions

 WT5001 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (WT5001 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

The documentation for this class was generated from the following file: