23 lines
406 B
Java
23 lines
406 B
Java
package com.safemobile.interfaces;
|
|
|
|
import java.util.EventObject;
|
|
|
|
public class AudioEvent extends EventObject {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
private byte[] data;
|
|
private int len;
|
|
public AudioEvent(Object source, byte[] _data, int _len) {
|
|
super(source);
|
|
data =_data;
|
|
len = _len;
|
|
}
|
|
public byte[] data() {
|
|
return data;
|
|
}
|
|
|
|
public int len()
|
|
{
|
|
return len;
|
|
}
|
|
} |