| CPC G06F 3/1454 (2013.01) [G09G 3/035 (2020.08); G09G 2354/00 (2013.01); G09G 2370/16 (2013.01)] | 18 Claims |

|
1. An electronic device comprising:
a housing;
a flexible display including a first region and a second region, wherein at least a portion of the second region is configured to be exposed to an outside of the housing based on a movement of at least a part of the housing;
a communication circuit configured to enable transmitting data to an external electronic device and/or receiving data from the external electronic device;
at least one sensor;
at least one processor comprising processing circuitry; and
memory storing instructions configured to, when executed by the at least one processor, cause the electronic device to:
identify, through the at least one sensor, that a size of the at least a portion of the second region is changed,
based on identifying that the size of the at least a portion of the second region is changed, transmit, through the communication circuit, a message including information about a parameter related to content displayed on a third region comprising the first region and the at least a portion of the second region to the external electronic device,
based on receiving a response message corresponding to the message from the external electronic device, obtain data by encoding the content according to the parameter, and
transmit, through the communication circuit, the data to the external electronic device,
wherein the parameter is related to a quality for displaying the content and/or for transmitting the content.
|