ESTTelemetryInfoMagnetometer

@interface ESTTelemetryInfoMagnetometer : ESTTelemetryInfo

This class contains data read from telemetry packet from beacon device.

  • Strength of magnetic field in X axis in normalized values (-1, 1).

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        NSNumber *_Nonnull normalizedMagneticFieldX;

    Swift

    var normalizedMagneticFieldX: NSNumber { get }
  • Strength of magnetic field in Y axis in normalized values (-1, 1).

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        NSNumber *_Nonnull normalizedMagneticFieldY;

    Swift

    var normalizedMagneticFieldY: NSNumber { get }
  • Strength of magnetic field in Z axis in normalized values (-1, 1).

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        NSNumber *_Nonnull normalizedMagneticFieldZ;

    Swift

    var normalizedMagneticFieldZ: NSNumber { get }
  • Designated initializer of this class.

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithNormalizedMagneticFieldX:(nonnull NSNumber *)fieldX
            normalizedMagneticFieldY:(nonnull NSNumber *)fieldY
            normalizedMagneticFieldZ:(nonnull NSNumber *)fieldZ
                     shortIdentifier:(nonnull NSString *)shortIdentifier;

    Swift

    init(normalizedMagneticFieldX fieldX: NSNumber, normalizedMagneticFieldY fieldY: NSNumber, normalizedMagneticFieldZ fieldZ: NSNumber, shortIdentifier: String)

    Parameters

    fieldX

    Magnetic field in X axis, read from telemetry packet.

    fieldY

    Magnetic field in Y axis, read from telemetry packet.

    fieldZ

    Magnetic field in Z axis, read from telemetry packet.

    shortIdentifier

    Short identifier of device that sent telemetry packet.

    Return Value

    Instance of this class.