Za'atar Digital

eServices for the rest of us

User Tools

Site Tools


gpskit:docs:zdgpskit:datalistener

DataListener

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.


Methods


DataFlowError

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.

NewGPSData

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.

gpskit/docs/zdgpskit/datalistener.txt · Last modified: 2016/02/09 12:35 (external edit)