ESTDeviceDetails

@interface ESTDeviceDetails : ESTBaseVO

This Value Object represents complete information about particular beacon or nearable device including status, settings and pending settings.

  • Device identifier.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull identifier;

    Swift

    var identifier: String { get }
  • Type of hardware.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull hardwareType;

    Swift

    var hardwareType: String { get }
  • Revision of hardware.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull hardwareRevision;

    Swift

    var hardwareRevision: String { get }
  • Footprint of hardware.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull hardwareFootprint;

    Swift

    var hardwareFootprint: String { get }
  • Color of the device.

    Declaration

    Objective-C

    @property (readonly, nonatomic) ESTColor color;

    Swift

    var color: ESTColor { get }
  • Form-factor of the device.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull formFactor;

    Swift

    var formFactor: String { get }
  • Shadow object representing high level context device belongs to.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) ESTDeviceShadow *_Nonnull shadow;

    Swift

    var shadow: ESTDeviceShadow { get }
  • Object containing all settings of the device.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) ESTDeviceSettings *_Nonnull settings;

    Swift

    var settings: ESTDeviceSettings { get }
  • Object containing all pending settings of the device applied from both Estimote Cloud and SDK.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        ESTDeviceSettings *_Nonnull pendingSettings;

    Swift

    var pendingSettings: ESTDeviceSettings { get }
  • Object containing all status information like battery level.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        ESTDeviceStatusReport *_Nonnull statusReport;

    Swift

    var statusReport: ESTDeviceStatusReport { get }
  • Method allows to initialize value object with data coming from Estimote Cloud request ESTRequestGetDeviceDetails.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCloudDictionary:
        (nonnull NSDictionary *)dictionary;

    Swift

    init(cloudDictionary dictionary: [AnyHashable : Any])

    Parameters

    dictionary

    Dictionary containing parsed JSON data coming from cloud.

    Return Value

    Initialized object.