Use "class  SensorProvider::Observer" to declare cause compilation error.