SKProximityData Class Reference

Inherits from SKSensorData : NSObject
Declared in SKProximityData.h

Overview

An instance of SKProximityData encapsulates an array of Device Data (e.g. SKiBeaconDeviceData).

– initWithSensorType:withTimestamp:

Returns an SKSensorData object, initialized with the given SKSensorType and SKSensorTimestamp.

- (instancetype)initWithSensorType:(SKSensorType)sensorType withTimestamp:(SKSensorTimestamp *)timestamp

Parameters

sensorType

The type of the sensor that produced this data object.

timestamp

The time were this data log was captured.

Return Value

A new SKSensorData object.

Declared In

SKSensorData.h

– initWithSensorType:withTimestamp:withDevices:

Returns an SKProximityData object, initialized with an array of Device Data objects as well as the time that the scan was completed.

- (instancetype)initWithSensorType:(SKSensorType)sensorType withTimestamp:(NSDate *)timestamp withDevices:(NSArray *)devices

Parameters

sensorType

The type of the sensor that produced this data object.

timestamp

The time that this data log was captured.

devices

An array that holds the Device Data objects.

Return Value

An SKProximityData object.

Declared In

SKProximityData.h

  devices

An array that holds the Device Data objects.

@property (nonatomic, readonly, copy) NSArray *devices

Declared In

SKProximityData.h

+ csvHeader

As the CSV header depends on the encapsulated Device Data objects, this method always returns nil.

+ (nullable NSString *)csvHeader

Return Value

Always nil.

Declared In

SKProximityData.h