Patent ID: 11922842
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 15:
16. A method for providing content by an electronic device, the method comprising:
displaying first content in a first area comprising a partial area of the flexible display, in response to an input;
measuring, using a sensor, a length of a visible area of the flexible display drawn out from the electronic device;
based on the length of the visible area of the flexible display measured using the sensor being a specified first length, determining that the electronic device is in a non-expanded state, and based on the length of the visible area of the flexible display measured using the sensor being a second length longer than the first length, determining that the electronic device is in an expanded state;
based on the electronic device being in an expanded state, the first content is displayed in the first area, and a user interface corresponding to at least one application and/or second content obtained by converting the first content into a form corresponding to a function provided by the at least one application is displayed in a second area comprising a partial area of the flexible display drawn out from the housing to be visible;
transmitting, in response to an input, data corresponding to the first content to a server connected to the at least one application
displaying a swap-related icon on an execution screen of the at least one application screen related to the second content in the second area, and
based on an input on the swap-related icon, swapping a position of the first content in the first area with that of the execution screen of the at least one application displayed in the second area.