Abstract:
An electronic device comprising: a memory; a headphone jack; and at least one processor operatively coupled to the memory, configured to: detect an impedance of a first portion of the headphone jack; and detect whether a foreign substance is present in the headphone jack based on the impedance of the first portion of the headphone jack.
Abstract:
According to various examples of the present invention, an electronic device and a gaze tracking method of the electronic device: detect optical signals, which are outputted from a first light-emitting device and a second light-emitting device and reflected from a user's left eye and right eye, by means of a first camera and a second camera corresponding to each of the first light-emitting device and the second light-emitting device; and determine the user's gaze on the basis of the detected optical signals, wherein the first light-emitting device and the second light-emitting device can be positioned so as to correspond to a left-eye display region and a right-eye display region included in a display of the electronic device, respectively, and various other examples are also possible.