ConcreteBeaconPayloadDataSupplierV1
public class ConcreteBeaconPayloadDataSupplierV1 : BeaconPayloadDataSupplier
Beacon payload data supplier.
-
Undocumented
Declaration
Swift
public init(countryCode: UInt16, stateCode: UInt16, code: UInt32, extendedData: ExtendedData? = nil)
-
Undocumented
Declaration
Swift
public func legacyPayload(_ timestamp: PayloadTimestamp = PayloadTimestamp(), device: Device?) -> PayloadData?
-
Declaration
Swift
public func payload(_ timestamp: PayloadTimestamp = PayloadTimestamp(), device: Device?) -> PayloadData?
-
Default implementation assumes fixed length payload data with no extended data
Declaration
Swift
public func payload(_ data: Data) -> [PayloadData]