1 // Copyright 2018-present 650 Industries. All rights reserved.
2 
3 @protocol EXDeviceMotionInterface
4 
5 - (float)getGravity;
6 - (void)sensorModuleDidSubscribeForDeviceMotionUpdates:(id)scopedSensorModule withHandler:(void (^)(NSDictionary *event))handlerBlock;
7 - (void)sensorModuleDidUnsubscribeForDeviceMotionUpdates:(id)scopedSensorModule;
8 - (void)setDeviceMotionUpdateInterval:(NSTimeInterval)intervalMs;
9 - (BOOL)isDeviceMotionAvailable;
10 
11 @end
12