public protocol PayloadDataSupplier
Payload data supplier for generating payload data that is shared with other devices to provide device identity information while maintaining privacy and security. Implement this to integration your solution with this transport.
Legacy payload supplier callback - for those transitioning their apps to Herald. Note: Device may be null if Payload in use is same for all receivers
Default implementation returns nil.
Parse raw data into payloads. This is used to split concatenated payloads that are transmitted via share payload. The default implementation assumes payload data is fixed length.
Default implementation assumes fixed length payload data.
func payload(_ data: Data) -> [PayloadData]