Abstract:
A device including an optical sensor is provided. The device includes a window including a first region, a second region and a partial region located between the first region and the second region, an optical sensor located inside one region among the first region and the second region, and a light blocking part formed in the partial region of the window.
Abstract:
An electronic device and method that detects an event related to the user's skin and performs a function corresponding to the event by using information on the skin color type of the user, and further provides a control method thereof. The occurrence of an event is detected that is related to at least a part of a user's body. Information regarding a light is obtained a sensor module that is functionally connected with the electronic device according to the detection result. A function is performed that corresponds to the detected event by using information corresponding to the obtained information on a light from among type information stored in a memory.