RSDDistanceRecorderConfiguration

@available(iOS 10.0, *)
struct RSDDistanceRecorderConfiguration : RSDRecorderConfiguration, Codable
  • Instantiate a RSDDistanceRecorder (iOS only).

    Declaration

    Swift

    public func instantiateController(with taskViewModel: RSDPathComponent) -> RSDAsyncAction?

    Parameters

    taskViewModel

    The current task path to use to initialize the controller.

    Return Value

    A new instance of RSDDistanceRecorder or nil if the platform does not support distance recording.