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 *)timestampParameters
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 *)devicesParameters
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 *devicesDeclared In
SKProximityData.h
+ csvHeader
As the CSV header depends on the encapsulated Device Data objects, this method always returns nil.
+ (nullable NSString *)csvHeaderReturn Value
Always nil.
Declared In
SKProximityData.h