DeviceCollector

@objc
public protocol DeviceCollector

DeviceCollector protocol is baseline class implementation protocol for FRDeviceCollector’s operation

  • Name of collector which will be ‘key’ value in FRDeviceCollector’s result for current DeviceCollector

    Declaration

    Swift

    @objc
    var name: String { get }
  • Collects Device related information for this particular Device Collector; returned data must be in JSON format, [String: Any].

    Declaration

    Swift

    @objc
    func collect(completion: @escaping DeviceCollectorCallback)

    Parameters

    completion

    Completion callback block