CLASS
IPSPositioningDebuggingWalk
final public class IPSPositioningDebuggingWalk
This class represents a walk that will be used for debugging instead of the original one
Use IPSPositioningDebuggingWalkBuilder to construct a walk
- Since: 7.3.0
Methods
init(samples:)
public init(samples: [IPSPositioningReplaySample])
A recorded positioning session that can be played back instead of live positioning data, for debugging purposes only.
- Since: 9.7.0
init(positionCsvUrls:)
public convenience init(positionCsvUrls: [URL]) throws
Loads recorded samples from one or more CSV files (in order) and concatenates them into a single replay.
The CSV columns are expected to be in the same order as in IPSPositioningReplaySample.
Example usage:
let url = Bundle.main.url(forResource: "1", withExtension: "csv")!
IPSDebugging.positioningDebuggingWalk = try? IPSPositioningDebuggingWalk(positionCsvUrls: [url])
```
- Since: 9.7.0
### `init(positionCsvUrl:)`
```swift
public convenience init(positionCsvUrl: URL) throws
Convenience overload for a single CSV file.
Example usage:
swift
let url = Bundle.main.url(forResource: "1", withExtension: "csv")!
IPSDebugging.positioningDebuggingWalk = try? IPSPositioningDebuggingWalk(positionCsvUrl: url)
- Since: 9.7.0