safedispatch-mobile/libSafeMobile/src/main/java/com/safemobile/interfaces/AudioEvent.java

23 lines
406 B
Java
Raw Normal View History

2022-03-14 09:53:00 +00:00
package com.safemobile.interfaces;
2022-03-10 14:31:03 +00:00
import java.util.EventObject;
2022-03-14 09:53:00 +00:00
public class AudioEvent extends EventObject {
private static final long serialVersionUID = 1L;
2022-03-10 14:31:03 +00:00
private byte[] data;
private int len;
2022-03-14 09:53:00 +00:00
public AudioEvent(Object source, byte[] _data, int _len) {
2022-03-10 14:31:03 +00:00
super(source);
data =_data;
len = _len;
}
public byte[] data() {
return data;
}
public int len()
{
return len;
}
2022-03-14 09:53:00 +00:00
}