Receivable

public protocol Receivable

Protocol to indicate that a type can be received from the Bluetooth connection.

  • A place to implement your deserialization logic.

    Declaration

    Swift

    init(bluetoothData: Data) throws

    Parameters

    bluetoothData

    The data received over Bluetooth and needing to be deserialized.