Skip to content

Commit

Permalink
iOS FleetManagementSDK 4.32.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chwastek committed Apr 24, 2020
1 parent 867d4d8 commit 7beba86
Show file tree
Hide file tree
Showing 15 changed files with 120 additions and 14 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
//
// ESTBeaconBatteryLifetimesVO.h
// EstimoteFleetManagementSDK
//
// Created by Łukasz Pikor on 25.06.2014.
// Copyright (c) 2014 Estimote. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ESTBeaconDefinitions.h"

NS_ASSUME_NONNULL_BEGIN

@interface ESTBeaconBatteryLifetimesVO : NSObject

- (instancetype)initWithLifetimes:(NSDictionary *)lifetimes;

- (NSString *)lifetimeForAdvertisingInterval:(int)interval;
- (NSString *)lifetimeForBroadcastingPower:(int)power;
- (NSString *)lifetimeForBasicPowerMode:(ESTBeaconPowerSavingMode)basic
andSmart:(ESTBeaconPowerSavingMode)smart;
- (NSString *)lifetimeForBroadcastingScheme:(ESTBroadcastingScheme)scheme;

- (BOOL)shouldDisplayAlertForAdvertisingInterval:(int)interval;
- (BOOL)shouldDisplayAlertForBroadcastingPower:(int)power;
- (BOOL)shouldDisplayAlertForBasicPowerMode:(ESTBeaconPowerSavingMode)basic
andSmart:(ESTBeaconPowerSavingMode)smart;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ NS_ASSUME_NONNULL_BEGIN
*
* @param targetedClass Class of setting that should be get.
*
* @return Setting for class. Nil means no setting was set for this class or there are multiple settings avaialable.
* @return Setting for class. Nil means no setting was set for this class or there are multiple settings available.
*/
- (nullable id)getSettingForClass:(Class)targetedClass;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ESTSettingsDeviceUtility.h
// EstimoteSDK
// EstimoteFleetManagementSDK
//
// Copyright (c) 2015 Estimote. All rights reserved.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ESTEddystoneFilterURLDomain.h
// EstimoteSDK
// EstimoteFleetManagementSDK
//
// Created by Marcin Klimek on 11/05/15.
// Copyright (c) 2015 Estimote. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// EstimoteSDK
// EstimoteFleetManagementSDK
//
// Copyright (c) 2015 Estimote. All rights reserved.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Estimote Fleet Management SDK
// Copyright © 2015 Estimote. All rights reserved.

#import <Foundation/Foundation.h>
#import "ESTBaseVO.h"

DEPRECATED_MSG_ATTRIBUTE("Deprecated since 4.31.0. Please refer to ESTDeviceDetails instead.")
@interface ESTNearableCloudSettingsVO : ESTBaseVO

@property (nonatomic, strong) NSString *applicationVersion;
@property (nonatomic, strong) NSString *bootloaderVersion;
@property (nonatomic, strong) NSString *hardwareVersion;

@property (nonatomic, strong) NSNumber *power;
@property (nonatomic, strong) NSNumber *advertisingInterval;

@property (nonatomic, strong) NSNumber *motionOnlyEnabled;

@property (nonatomic, strong) NSNumber *broadcastingScheme;
@property (nonatomic, strong) NSString *eddystoneURL;

- (instancetype)initWithCloudData:(NSDictionary *)data;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Estimote Fleet Management SDK
// Copyright © 2015 Estimote. All rights reserved.

#import <Foundation/Foundation.h>
#import "ESTNearableCloudSettingsVO.h"
#import "ESTBaseVO.h"

DEPRECATED_MSG_ATTRIBUTE("Deprecated since 4.31.0. Please use ESTDeviceDetails instead.")
@interface ESTNearableCloudVO : ESTBaseVO

@property (nonatomic, strong) NSString *identifier;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSNumber *color;
@property (nonatomic, strong) NSNumber *type;
@property (nonatomic, strong) ESTNearableCloudSettingsVO *settings;

- (instancetype)initWithCloudData:(NSDictionary *)data;

@end
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ESTNearableFirmwareVO.h
// EstimoteSDK
// EstimoteFleetManagementSDK
//
// Created by Marcin Klimek on 30/01/15.
// Copyright (c) 2015 Estimote. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// ESTNearableHardwareVO.h
// EstimoteFleetManagementSDK
//
// Copyright (c) 2015 Estimote. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ESTNearableHardwareVO : NSObject

@property (nonatomic, assign) NSNumber *hardwareId;
@property (nonatomic, strong) NSString *hardwareName;

@end
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
@class ESTPeripheralNearable;
@class ESTDeviceSettingsCollection;
@class ESTDeviceNearable;
@class ESTDeviceDetails;
@class ESTSemverString;
@class ESTNearableVO;

#define ESTNearableSettingsManagerErrorDomain @"ESTNearableSettingsManagerErrorDomain"

typedef NS_ENUM (NSUInteger, ESTNearableSettingsManagerError) {
typedef NS_ENUM(NSUInteger, ESTNearableSettingsManagerError) {
/**
* Settings synchronization is already in progress for the device.
*/
Expand Down Expand Up @@ -53,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Flat key-value settings container.
*/
@property (nonatomic, strong, readonly) ESTDeviceSettingsCollection *settingsCollection;
@property(nonatomic, strong, readonly) ESTDeviceSettingsCollection *settingsCollection;

/**
* Method executes provided Nearable Operation.
Expand All @@ -67,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN
*
* @param operations Nearable Operations to be performed.
*/
- (void)performOperationsFromArray:(NSArray<id<ESTNearableOperationProtocol> > *)operations;
- (void)performOperationsFromArray:(NSArray<id<ESTNearableOperationProtocol>> *)operations;

@end

Expand All @@ -90,7 +89,9 @@ NS_ASSUME_NONNULL_BEGIN
* @param firmwareVersion Device firmware version used to ignore unsupported setting operations.
* @param completion Synchronization completion block.
*/
- (void)synchronizeUsingNearableVO:(ESTDeviceDetails *)nearableVO forFirmwareVersion:(ESTSemverString *)firmwareVersion completion:(void(^)(NSError *))completion;
- (void)synchronizeUsingNearableVO:(ESTNearableVO *)nearableVO
forFirmwareVersion:(NSString *)firmwareVersion
completion:(nonnull void (^)())syncCompletion;

@end

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// EstimoteSDK
// EstimoteFleetManagementSDK
//
// Copyright (c) 2015 Estimote. All rights reserved.
//
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Estimote Fleet Management SDK
// Copyright (c) 2015 Estimote. All rights reserved.

#import "ESTRequestGetJSON.h"

DEPRECATED_MSG_ATTRIBUTE("Deprecated since 4.31.0. Please use ESTRequestGetDeviceDetails instead.")
@interface ESTRequestGetBeaconLifetimes : ESTRequestGetJSON

@property (nonatomic) NSString *beaconUID;

@end
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// ESTRequestNearableDetails.h
// EstimoteSDK
// EstimoteFleetManagementSDK
//
// Created by Estimote Polska on 8/20/15.
// Copyright (c) 2015 Estimote. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Estimote Fleet Management SDK
// Version: 4.31.2
// Version: 4.32.2
// Copyright (c) 2016 Estimote. All rights reserved.

/**
Expand Down Expand Up @@ -325,7 +325,9 @@
#import "ESTFirmwareInfoV4VO.h"
#import "ESTMesh.h"
#import "ESTNearableFirmwareVO.h"
#import "ESTNearableHardwareVO.h"
#import "ESTNearableFirmwareUpdateVO.h"
#import "ESTBeaconBatteryLifetimesVO.h"


/**
Expand Down Expand Up @@ -388,6 +390,7 @@
#import "ESTRequestBeaconColor.h"
#import "ESTRequestBeaconMac.h"
#import "ESTRequestAssignGPSLocation.h"
#import "ESTRequestNearableDetails.h"

#import "ESTRequestRegisterDevice.h"
#import "ESTRequestGetPendingSettings.h"
Expand All @@ -402,6 +405,8 @@
#import "ESTRequestV2GetDevices.h"
#import "ESTRequestV2DevicesUpdate.h"
#import "ESTRequestGetNearables.h"
#import "ESTRequestGetBeaconOwnerEmailHint.h"
#import "ESTRequestGetBeaconLifetimes.h"

/**
* Analytics handling
Expand Down

0 comments on commit 7beba86

Please sign in to comment.