So in this case, which of the four options is the word 'this' being used as?
a) you can use this to overcome to instance variable hiding.
b) you can use this to refer current object inside any method.
c) you can use this to pass object as a parameter to another methods.
d) you can use this to invoke another constructor in same class.
@Override
protected void onPause(){
if (theRegisteredSensor){
theSensorManager.unregisterListener(this);
theRegisteredSensor = false;
}
super.onPause();
}