public class SerialDataEvent extends EventObject
This class provides the serial data event object.
Before using the Pi4J library, you need to ensure that the Java VM in configured with access to the following system libraries:
This library depends on the wiringPi native system library. (developed by Gordon Henderson @ http://wiringpi.com/)
Serial
,
SerialDataListener
,
SerialFactory
,
http://www.pi4j.com/,
Serialized Formsource
Constructor and Description |
---|
SerialDataEvent(Object obj,
String data)
Default event constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getData()
Get the data string received.
|
getSource, toString
public String getData()
Copyright © 2012–2014 Pi4J. All rights reserved.