An electronic device comprising: a display ; a communication interface comprising a USB type-C connector; and at least one processor operably connected to the display and to the communication interface and configured to: sense a connection with an external electronic device using the USB type-C connector, receive information related to the external electronic device from the external electronic device in response to the connection using a communication channel, CC, pin among plurality of pins of the USB type-C connector, transmit content to the external electronic device through a transmitting, TX, pin among the plurality of pins of the USB type-C connector, receive user data related to the content, which has been inputted through an input/output component of the external electronic device , from the external electronic device through the CC pin among the plurality of pins of the USB type-C connector, and control the electronic device based on the received user data, wherein the electronic device corresponds to a master device of the connection using the USB type-C connector and the external electronic device corresponds to a slave device of the connection using the USB type-C connector. a display ; a communication interface comprising a USB type-C connector; and at least one processor operably connected to the display and to the communication interface and configured to: sense a connection with an external electronic device using the USB type-C connector, receive information related to the external electronic device from the external electronic device in response to the connection using a communication channel, CC, pin among plurality of pins of the USB type-C connector, transmit content to the external electronic device through a transmitting, TX, pin among the plurality of pins of the USB type-C connector, receive user data related to the content, which has been inputted through an input/output component of the external electronic device , from the external electronic device through the CC pin among the plurality of pins of the USB type-C connector, and control the electronic device based on the received user data, wherein the electronic device corresponds to a master device of the connection using the USB type-C connector and the external electronic device corresponds to a slave device of the connection using the USB type-C connector. sense a connection with an external electronic device using the USB type-C connector, receive information related to the external electronic device from the external electronic device in response to the connection using a communication channel, CC, pin among plurality of pins of the USB type-C connector, transmit content to the external electronic device through a transmitting, TX, pin among the plurality of pins of the USB type-C connector, receive user data related to the content, which has been inputted through an input/output component of the external electronic device , from the external electronic device through the CC pin among the plurality of pins of the USB type-C connector, and control the electronic device based on the received user data, wherein the electronic device corresponds to a master device of the connection using the USB type-C connector and the external electronic device corresponds to a slave device of the connection using the USB type-C connector. <EOS>