ESTTelemetryNotificationMotion

@interface ESTTelemetryNotificationMotion
    : NSObject <ESTTelemetryNotificationProtocol>

ESTTelemetryNotificationMotion class is used to initialize block that will be fired everytime new telemetry packet was ranged. As a parameter of ESTTelemetryNotificationMotionCompletionBlock expect ESTTelemetryInfoMotion object that transmits axises X,Y,Z of beacon position and current and previous motion state duration.

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

    Declaration

    Objective-C

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

    Swift

    init(notificationBlock block: @escaping ESTTelemetryNotificationMotionCompletionBlock)

    Parameters

    block

    ESTTelemetryNotificationMotionCompletionBlock