注册传感器 [英] Registered Sensor

查看:165
本文介绍了注册传感器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

''私有布尔theRegisteredSensor是什么; ''在此代码中意味着什么?这是为了什么?感谢您的提前帮助.


What does '' private boolean theRegisteredSensor; '' in this code means? What is it for? Thanks for the help in advance.


public class TestSensorsDraft extends Activity implements SensorEventListener {
    private boolean theRegisteredSensor;
    private SensorManager theSensorManager;

推荐答案

它声明了一个名为theRegisteredSensorboolean 变量.
它是用来干什么的?给定您发布的代码段,无法分辨.关于任何人,唯一可以告诉您的是,它具有True/False值.
It declares a boolean variable called theRegisteredSensor.

What''s it used for? There''s no way to tell given the code snippet you posted. About the only thing anyone can tell you is that it holds a True/False value.


True/False值的用途是什么?
What is the True/False value for?


这篇关于注册传感器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆