public static extern LightSensor GetDefault(); }
private static Sensor GetSensor() { try { return(Sensor.GetDefault()); } catch { return(null); } }