ESTDeviceStatusReport

@interface ESTDeviceStatusReport : ESTBaseVO

This Value Object represents status report related to the device.

  • Expected battery percentage stored as integer number of percents.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *batteryPercentage;

    Swift

    var batteryPercentage: NSNumber! { get }
  • Expected battery lifetime in days.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *batteryLifetime;

    Swift

    var batteryLifetime: NSNumber! { get }
  • Battery voltage in millivolts.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *batteryVoltageInVolts;

    Swift

    var batteryVoltageInVolts: NSNumber! { get }
  • Clock offset in seconds.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *clockOffsetInSeconds;

    Swift

    var clockOffsetInSeconds: NSNumber! { get }
  • Currently installed firmware version.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *firmwareVersion;

    Swift

    var firmwareVersion: String! { get }
  • Information when the device was synchronized last time.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSDate *lastSync;

    Swift

    var lastSync: Date! { get }
  • Designated initializer.

    Declaration

    Objective-C

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

    Swift

    init!(cloudDictionary dictionary: [AnyHashable : Any]!)

    Parameters

    dictionary

    Dictionary provided by the Estimote Cloud.

    Return Value

    Initialized object.