RVS_BTDriver_OBD_DeviceDelegate
public protocol RVS_BTDriver_OBD_DeviceDelegate : AnyObject
This protocol is for delegates for OBD devices.
-
REQUIRED: Error reporting method.
Declaration
Swift
func device(_ device: RVS_BTDriver_OBD_DeviceProtocol, encounteredThisError: RVS_BTDriver.Errors)
Parameters
device
The
RVS_BTDriver_OBD_DeviceProtocol
instance that encountered the error.encounteredThisError
The error that was encountered.
-
REQUIRED: This is called when an OBD device updates its transaction.
Declaration
Swift
func deviceUpdatedTransaction(_ updatedTransaction: RVS_BTDriver_OBD_Device_TransactionStruct)
Parameters
updatedTransaction
The transaction that was updated.