import { Subscription } from 'expo-modules-core';
import * as Sensors from 'expo-sensors';
import React from 'react';
import { ScrollView, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
const FAST_INTERVAL = 16;
const SLOW_INTERVAL = 1000;
export default class SensorScreen extends React.Component {
static navigationOptions = {
title: 'Sensors',
};
render() {
return (
);
}
}
type State = {
data: Measurement;
isAvailable?: boolean;
};
abstract class SensorBlock extends React.Component