NotificationParser

public protocol NotificationParser

Parses notification payload to required protobuf type received from Bluetooth.

  • parseNotification(_:) Default implementation

    Parses notification packet received from Bluetooth.

    Default Implementation

    Declaration

    Swift

    func parseNotification(_ packet: Data) throws -> V2ProtocolNotificationInjectable

    Parameters

    packet

    Raw data which contains notification payload.