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 -> V2ProtocolNotificationInjectableParameters
packetRaw data which contains notification payload.
View on GitHub
NotificationParser Protocol Reference