ESTTelemetryNotificationMagnetometer

@interface ESTTelemetryNotificationMagnetometer
    : NSObject <ESTTelemetryNotificationProtocol>

ESTTelemetryNotificationMagnetometer class is used to initialize block that will be fired everytime new telemetry packet was ranged. As a parameter of ESTTelemetryNotificationMagnetometerNotificationBlock expect ESTTelemetryInfoMagnetometer object that transmits magnetometer values in X, Y, Z axises, read by beacon device.

  • This init takes notificationBlock as a parameter, which will be fired with every telemetry packet discovered.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNotificationBlock:
        (nonnull ESTTelemetryNotificationMagnetometerNotificationBlock)block;

    Swift

    init(notificationBlock block: @escaping ESTTelemetryNotificationMagnetometerNotificationBlock)

    Parameters

    block

    ESTTelemetryNotificationMagnetometerNotificationBlock