2019-02-17 09:52:17 +00:00
|
|
|
package eu.worn.apps.androvac;
|
|
|
|
|
|
|
|
import android.app.Activity;
|
|
|
|
import android.widget.Toast;
|
|
|
|
|
|
|
|
public class DebugIRBeamer implements IRBeamer {
|
2019-02-17 14:04:34 +00:00
|
|
|
private final Activity act;
|
2019-02-17 09:52:17 +00:00
|
|
|
|
2019-02-17 14:04:34 +00:00
|
|
|
DebugIRBeamer(Activity act) {
|
2019-02-17 09:52:17 +00:00
|
|
|
this.act = act;
|
|
|
|
}
|
|
|
|
public boolean isAvailable() { return true; }
|
|
|
|
|
|
|
|
public void transmit(int carrier, int[] pulses) {
|
|
|
|
Toast.makeText(act.getApplicationContext(), "Transmitting", Toast.LENGTH_LONG).show();
|
|
|
|
}
|
|
|
|
}
|