public class Frame extends Object
Constructor and Description |
---|
Frame()
Constructs a Frame object.
|
Frame(Frame original)
Constructs a Frame object as equal copy
|
Frame(Packet packet)
Constructs a Frame object from packet.
|
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
int |
getCoding()
Gets the coding
|
byte[] |
getData()
Gets the data in bytes array
|
int |
getDataBitsSize()
Gets the size of data in bits
|
int |
getFrequency()
Gets the frequency
|
int |
getModulation()
Gets the modulation
|
Packet |
getPacket(int index)
Gets the packet
|
int |
getPacketCount()
Gets the packets count associated
|
int |
getPeriodUs()
Gets the minimum pulse period
|
public Frame() throws UnsatisfiedLinkError
UnsatisfiedLinkError
- if native dependency not foundpublic Frame(Frame original) throws UnsatisfiedLinkError
original
- an original Frame to copyUnsatisfiedLinkError
- if native dependency not foundpublic Frame(Packet packet) throws UnsatisfiedLinkError
packet
- the packetUnsatisfiedLinkError
- if native dependency not foundpublic int getCoding()
public byte[] getData()
public int getDataBitsSize()
public int getFrequency()
public int getModulation()
public Packet getPacket(int index)
index
- the packet indexpublic int getPacketCount()
public int getPeriodUs()