ESTMeshNearablesScanReportVO
@interface ESTMeshNearablesScanReportVO : NSObject
ESTMeshNearablesScanReportVO represents full report of mesh scan report
consisting of single scan results delivered from beacons scanning
for stickers. Single record is represented by ESTMeshScanResultVO.
-
Date of collecting the scan report.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) NSDate *collectedAt;Swift
var collectedAt: Date! { get set } -
Designated initialiser convering provided data (taken from device) into value objects.
Declaration
Objective-C
- (instancetype)initWithData:(NSArray<NSData *> *)data collectedAt:(NSDate *)collectedAt;Swift
init!(data: [Data]!, collectedAt: Date!)Parameters
dataScan report data taken from the device.
Return Value
Initialised report object.
-
Returns array of scan results for given device identifier. Note these identifiers are eight characters long!
Declaration
Objective-C
- (NSArray<ESTMeshNearablesScanResultVO *> *) scanResultsForShortDeviceIdentifier:(NSString *)deviceIdentifier;Swift
func scanResults(forShortDeviceIdentifier deviceIdentifier: String!) -> [ESTMeshNearablesScanResultVO]!Parameters
deviceIdentifierIdentifier of the device.
Return Value
Array of ESTMeshScanResultVO objects.
-
Cloud dictionary of scan report. See
ESTRequestSetScanReportfor usage.Declaration
Objective-C
- (NSDictionary *)cloudDictionary;Swift
func cloudDictionary() -> [AnyHashable : Any]!Return Value
An array of NSString objects.
View on GitHub
ESTMeshNearablesScanReportVO Class Reference