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
deviceThe
RVS_BTDriver_OBD_DeviceProtocolinstance that encountered the error.encounteredThisErrorThe 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
updatedTransactionThe transaction that was updated.
View on GitHub
RVS_BTDriver_OBD_DeviceDelegate Protocol Reference