Type | Class Interface |
---|---|
Namespace | zdGPSKit |
DataListener
is a class interface used to register with a DataProvider
in order to get the data sent by the GPS Device.
Syntax | |
---|---|
DataFlow( inError Code As Integer ) |
|
Parameter | |
inErrorCode | The code of the error from the DataProvider |
This is the method called by the DataProvider
when an error has occurred with the communication between the DataProvider
and the GPS device it's connected to.
The value of inErrorCode
depends on the type of connection. For the built-in serial connection like zdGPSKit.DataProviders.SerialData
and zdGPSKit.DataProviders.SerialDataUT
, the error codes provided are the same as with the http://docs.xojo.com/index.php/Serial.LastErrorCode
.
Syntax | |
---|---|
NewData( inData As String ) |
|
Parameter | |
inData | The new chunk of data sent by the GPS device |
This is the method called by the DataProvider
when it has a chunk of new data to transmit.