USER INTERFACES FOR DISPLAYING, TRANSMITTING, AND RECEIVING COMMUNICATIONS DURING A COMMUNICATION SESSION

Some embodiments described in this disclosure are directed to one or more electronic devices that display a plurality of user interfaces corresponding initiating a communication session and joining a communication session. Some embodiments described in this disclosure are directed to transmitting content during a communication session. Some embodiments described in this disclosure are directed towards receiving content during the communication session.

FIELD OF THE DISCLOSURE

This disclosure relates generally to displaying, transmitting, and receiving communications during a communication session with an electronic device.

BACKGROUND OF THE DISCLOSURE

User interaction with electronic devices has increased significantly in recent years. These devices can be devices such as computers, tablet computers, televisions, multimedia devices, or mobile devices. In some circumstances, users may wish to use such devices to send and/or receive communications. Enhancing the user's interactions with the device improves the user's experience with the device and decreases user interaction time, which is particularly important where input devices are battery-operated.

SUMMARY OF THE DISCLOSURE

Some embodiments described in this disclosure are directed to one or more electronic devices that display a plurality of user interfaces corresponding initiating a communication session. Some embodiments described in this disclosure are directed to transmitting content during a communication session. Some embodiments described in this disclosure are directed towards receiving content during the communication session. The full descriptions of the embodiments are provided in the Drawings and the Detailed Description, and it is understood that the Summary provided above does not limit the scope of the disclosure in any way.

DETAILED DESCRIPTION

In the following description of embodiments, reference is made to the accompanying drawings which form a part hereof, and in which it is shown by way of illustration specific embodiments that are optionally practiced. It is to be understood that other embodiments are optionally used, and structural changes are optionally made without departing from the scope of the disclosed embodiments.

There is a need for electronic devices join a communication session with each other. There is also a need for electronic devices to transmit content while in a communication session. In some embodiments, a first electronic device detects a second electronic device within a threshold distance of the first electronic device. In some embodiments, in accordance with a determination that one or more criteria are satisfied, the first electronic device initiates a communication session with the second electronic device. In some embodiments, while in the communication session, the second electronic device can control playback of content. Such techniques allow enables users of the first and the second electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, a first electronic device receives an indication that a communication session between the first electronic device and a second electronic device can be initiated. In some embodiments, the first electronic device transmits a request to initiate the communication session in response to receiving the indication. In some embodiments, the first electronic device initiates the communication session, which allows the first electronic device to transmit indications of content to be played at the second electronic device. Allowing content to be transmitted and played between devices enables the user of the first electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

Exemplary Devices

Embodiments of electronic devices, user interfaces for such devices, and associated processes for using such devices are described. In some embodiments, the device is a portable communications device, such as a mobile telephone, that also contains other functions, such as PDA and/or music player functions. Exemplary embodiments of portable multifunction devices include, without limitation, the iPhone®, iPod Touch®, and iPad® devices from Apple Inc. of Cupertino, California. Other portable electronic devices, such as laptops or tablet computers with touch-sensitive surfaces (e.g., touch screen displays and/or touch pads), are, optionally, used. It should also be understood that, in some embodiments, the device is not a portable communications device, but is a desktop computer or a television with a touch-sensitive surface (e.g., a touch screen display and/or a touch pad). In some embodiments, the device does not have a touch screen display and/or a touch pad, but rather is capable of outputting display information (such as the user interfaces of the disclosure) for display on a separate display device, and capable of receiving input information from a separate input device having one or more input mechanisms (such as one or more buttons, a touch screen display and/or a touch pad). In some embodiments, the device has a display, but is capable of receiving input information from a separate input device having one or more input mechanisms (such as one or more buttons, a touch screen display and/or a touch pad). In some embodiments, the electronic device is a computer system that is in communication (e.g., via wireless communication, via wired communication) with a display generation component. The display generation component is configured to provide visual output, such as display via a CRT display, display via an LED display, or display via image projection. In some embodiments, the display generation component is integrated with the computer system. In some embodiments, the display generation component is separate from the computer system. As used herein, “displaying” content includes causing to display the content (e.g., video data rendered or decoded by display controller156) by transmitting, via a wired or wireless connection, data (e.g., image data or video data) to an integrated or external display generation component to visually produce the content.

In the discussion that follows, an electronic device that includes a display and a touch-sensitive surface is described. It should be understood, however, that the electronic device optionally includes one or more other physical user-interface devices, such as a physical keyboard, a mouse and/or a joystick. Further, as described above, it should be understood that the described electronic device, display and touch-sensitive surface are optionally distributed amongst two or more devices. Therefore, as used in this disclosure, information displayed on the electronic device or by the electronic device is optionally used to describe information outputted by the electronic device for display on a separate display device (touch-sensitive or not). Similarly, as used in this disclosure, input received on the electronic device (e.g., touch input received on a touch-sensitive surface of the electronic device) is optionally used to describe input received on a separate input device, from which the electronic device receives input information.

It should be appreciated that device100is only one example of a portable or non-portable multifunction device, and that device100optionally has more or fewer components than shown, optionally combines two or more components, or optionally has a different configuration or arrangement of the components. The various components shown inFIG.1Aare implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing and/or application specific integrated circuits. Further, the various components shown inFIG.1Aare optionally implemented across two or more devices; for example, a display and audio circuitry on a display device, a touch-sensitive surface on an input device, and remaining components on device100. In such an embodiment, device100optionally communicates with the display device and/or the input device to facilitate operation of the system, as described in the disclosure, and the various components described herein that relate to display and/or input remain in device100, or are optionally included in the display and/or input device, as appropriate.

In some embodiments, peripherals interface118, CPU120, and memory controller122are, optionally, implemented on a single chip, such as chip104. In some other embodiments, they are, optionally, implemented on separate chips.

Touch-sensitive display112provides an input interface and an output interface between the device and a user. As described above, the touch-sensitive operation and the display operation of touch-sensitive display112are optionally separated from each other, such that a display device is used for display purposes and a touch-sensitive surface (whether display or not) is used for input detection purposes, and the described components and functions are modified accordingly. However, for simplicity, the following description is provided with reference to a touch-sensitive display. Display controller156receives and/or sends electrical signals from/to touch screen112. Touch screen112displays visual output to the user. The visual output optionally includes graphics, text, icons, video, and any combination thereof (collectively termed “graphics”). In some embodiments, some or all of the visual output corresponds to user-interface objects.

FIG.2illustrates a portable or non-portable multifunction device100having a touch screen112in accordance with some embodiments. As stated above, multifunction device100is described as having the various illustrated structures (such as touch screen112, speaker111, accelerometer168, microphone113, etc.); however, it is understood that these structures optionally reside on separate devices. For example, display-related structures (e.g., display, speaker, etc.) and/or functions optionally reside on a separate display device, input-related structures (e.g., touch-sensitive surface, microphone, accelerometer, etc.) and/or functions optionally reside on a separate input device, and remaining structures and/or functions optionally reside on multifunction device100.

Device100optionally also includes one or more physical buttons, such as “home” or menu button204. As previously described, menu button204is, optionally, used to navigate to any application136in a set of applications that are, optionally executed on device100. Alternatively, in some embodiments, the menu button is implemented as a soft key in a GUI displayed on touch screen112.

FIG.3is a block diagram of an exemplary multifunction device with a display and a touch-sensitive surface in accordance with some embodiments. Device300need not include the display and the touch-sensitive surface, as described above, but rather, in some embodiments, optionally communicates with the display and the touch-sensitive surface on other devices. Additionally, device300need not be portable. In some embodiments, device300is a laptop computer, a desktop computer, a tablet computer, a multimedia player device (such as a television or a set-top box), a navigation device, an educational device (such as a child's learning toy), a gaming system, or a control device (e.g., a home or industrial controller). Device300typically includes one or more processing units (CPU's)310, one or more network or other communications interfaces360, memory370, and one or more communication buses320for interconnecting these components. Communication buses320optionally include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. Device300includes input/output (I/O) interface330comprising display340, which is typically a touch screen display. I/O interface330also optionally includes a keyboard and/or mouse (or other pointing device)350and touchpad355, tactile output generator357for generating tactile outputs on device300(e.g., similar to tactile output generator(s)167described above with reference toFIG.1A), sensors359(e.g., optical, acceleration, proximity, touch-sensitive, and/or contact intensity sensors similar to contact intensity sensor(s)165described above with reference toFIG.1A). Memory370includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and optionally includes non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. Memory370optionally includes one or more storage devices remotely located from CPU(s)310. In some embodiments, memory370stores programs, modules, and data structures analogous to the programs, modules, and data structures stored in memory102of portable or non-portable multifunction device100(FIG.1A), or a subset thereof. Furthermore, memory370optionally stores additional programs, modules, and data structures not present in memory102of portable or non-portable multifunction device100. For example, memory370of device300optionally stores drawing module380, presentation module382, word processing module384, website creation module386, disk authoring module388, and/or spreadsheet module390, while memory102of portable or non-portable multifunction device100(FIG.1A) optionally does not store these modules.

FIG.5Aillustrates a block diagram of an exemplary architecture for the device500according to some embodiments of the disclosure. In the embodiment ofFIG.5A, media or other content is optionally received by device500via network interface502, which is optionally a wireless or wired connection. The one or more processors504optionally execute any number of programs stored in memory506or storage, which optionally includes instructions to perform one or more of the methods and/or processes described herein (e.g., method700and/or900). A computer-readable storage medium can be any medium that can tangibly contain or store computer-executable instructions for use by or in connection with the instruction execution system, apparatus, or device. In some examples, the storage medium is a transitory computer-readable storage medium. In some examples, the storage medium is a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium can include, but is not limited to, magnetic, optical, and/or semiconductor storages. Examples of such storage include magnetic disks, optical discs based on CD, DVD, or Blu-ray technologies, as well as persistent solid-state memory such as flash, solid-state drives, and the like. Personal electronic device500is not limited to the components and configuration ofFIGS.5, but can include other or additional components in multiple configurations.

As used here, the term “affordance” refers to a user-interactive graphical user interface object that is, optionally, displayed on the display screen of devices100,300, and/or500(FIGS.1A,3, and5A-5B). For example, an image (e.g., icon), a button, and text (e.g., hyperlink) each optionally constitute an affordance.

FIG.5Cillustrates detecting a plurality of contacts552A-552E on touch-sensitive display screen504with a plurality of intensity sensors524A-524D.FIG.5Cadditionally includes intensity diagrams that show the current intensity measurements of the intensity sensors524A-524D relative to units of intensity. In this example, the intensity measurements of intensity sensors524A and524D are each 9 units of intensity, and the intensity measurements of intensity sensors524B and524C are each 7 units of intensity. In some implementations, an aggregate intensity is the sum of the intensity measurements of the plurality of intensity sensors524A-524D, which in this example is 32 intensity units. In some embodiments, each contact is assigned a respective intensity that is a portion of the aggregate intensity.FIG.5Dillustrates assigning the aggregate intensity to contacts552A-552E based on their distance from the center of force554. In this example, each of contacts552A,552B, and552E are assigned an intensity of contact of 8 intensity units of the aggregate intensity, and each of contacts552C and552D are assigned an intensity of contact of 4 intensity units of the aggregate intensity. More generally, in some implementations, each contact j is assigned a respective intensity Ij that is a portion of the aggregate intensity, A, in accordance with a predefined mathematical function, Ij=A·(Dj/ΣDi), where Dj is the distance of the respective contact j to the center of force, and ΣDi is the sum of the distances of all the respective contacts (e.g., i=1 to last) to the center of force. The operations described with reference toFIGS.5C-5Dcan be performed using an electronic device similar or identical to device100,300, or500. In some embodiments, a characteristic intensity of a contact is based on one or more intensities of the contact. In some embodiments, the intensity sensors are used to determine a single characteristic intensity (e.g., a single characteristic intensity of a single contact). It should be noted that the intensity diagrams are not part of a displayed user interface, but are included inFIGS.5C-5Dto aid the reader.

FIGS.5E-5Hillustrate detection of a gesture that includes a press input that corresponds to an increase in intensity of a contact562from an intensity below a light press intensity threshold (e.g., “ITL”) inFIG.5E, to an intensity above a deep press intensity threshold (e.g., “ITD”) inFIG.5H. The gesture performed with contact562is detected on touch-sensitive surface560while cursor576is displayed over application icon572B corresponding to App2, on a displayed user interface570that includes application icons572A-572D displayed in predefined region574. In some embodiments, the gesture is detected on touch-sensitive display504. The intensity sensors detect the intensity of contacts on touch-sensitive surface560. The device determines that the intensity of contact562peaked above the deep press intensity threshold (e.g., “ITD”). Contact562is maintained on touch-sensitive surface560. In response to the detection of the gesture, and in accordance with contact562having an intensity that goes above the deep press intensity threshold (e.g., “ITD”) during the gesture, reduced-scale representations578A-578C (e.g., thumbnails) of recently opened documents for App2are displayed, as shown inFIGS.5F-5H. In some embodiments, the intensity, which is compared to the one or more intensity thresholds, is the characteristic intensity of a contact. It should be noted that the intensity diagram for contact562is not part of a displayed user interface, but is included inFIGS.5E-5Hto aid the reader.

In some embodiments, the display of representations578A-578C includes an animation. For example, representation578A is initially displayed in proximity of application icon572B, as shown inFIG.5F. As the animation proceeds, representation578A moves upward and representation578B is displayed in proximity of application icon572B, as shown inFIG.5G. Then, representations578A moves upward,578B moves upward toward representation578A, and representation578C is displayed in proximity of application icon572B, as shown inFIG.5H. Representations578A-578C form an array above icon572B. In some embodiments, the animation progresses in accordance with an intensity of contact562, as shown inFIGS.5F-5G, where the representations578A-578C appear and move upwards as the intensity of contact562increases toward the deep press intensity threshold (e.g., “ITD”). In some embodiments, the intensity, on which the progress of the animation is based, is the characteristic intensity of the contact. The operations described with reference toFIGS.5E-5Hcan be performed using an electronic device similar or identical to device100,300, or500.

As used herein, the terms “open application” or “executing application” refer to a software application with retained state information (e.g., as part of device/global internal state157and/or application internal state192). An open or executing application is, optionally, any one of the following types of applications:an active application, which is currently displayed on a display screen of the device that the application is being used on;a background application (or background processes), which is not currently displayed, but one or more processes for the application are being processed by one or more processors; anda suspended or hibernated application, which is not running, but has state information that is stored in memory (volatile and non-volatile, respectively) and that can be used to resume execution of the application.

Attention is now directed towards embodiments of user interfaces (“UI”) and associated processes that are implemented on an electronic device, such as device100, device300, or device500.

User Interfaces and Associated Processes

Initiating a Communication Session and Playing Content

Users interact with electronic devices in many different manners. In some embodiments, an electronic device is connected to one or more output devices, such as a display generation component and/or a speaker. In some embodiments, in response to detecting another electronic device is within a threshold distance of the electronic device, the electronic device initiates a communication session with the other electronic device. This communication session allows the other electronic device to control playback of content by the electronic device using the one or more output devices. The embodiments described below provide ways in which the electronic device initiates a communication session with the other electronic device. Allowing another electronic device to join a communication session with the electronic device to control the playback of content items enable users of the electronic devices to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently. It is understood that people use devices. When a person uses a device, that person is optionally referred to as a user of the device.

When people get together, they sometimes like to share content (e.g., music) and spend time watching, listening (or experiencing) the content together. For example, on a road trip, passengers in a vehicle may want to listen to music or podcasts together. Currently, one device (e.g., a mobile device, such as a smartphone, tablet, or wearable device) in the vehicle controls the content being played to everyone over the vehicle speakers. In some cases, the electronic device can connect to the vehicle speakers (e.g., via Bluetooth, a vehicle infotainment system as described above, or some other mobile app or standard that enables a car radio or head unit to be a display and controller for another device (e.g., a smartphone, wearable, or other electronic device)). If multiple people want to add content or change the playing content, they must use either the car stereo or the one device connected to the car speakers.

An example embodiment allows multiple devices to connect and share content to a communication session so that multiple people can share and change content playing from one device (e.g., the device connected to the car speakers, or other speakers such as Bluetooth speakers, TV speakers, and/or smart speakers). For example, other devices can connect to the electronic device that controls the content being played using the speakers to also control the content being played using the speakers, using the electronic device as a “hub” for controlling the speakers. In some embodiments, the other devices are not directly connected to the car speakers and/or other speakers that are playing content, but rather utilize the connection of the “hub” device to those speakers to cause playback of content through those speakers (including in scenarios where the connection protocol between the “hub” device and the speakers is one that can only support a connection between the speakers and a single device). Similar communication sessions can be set up to be used at a gathering of people (e.g., a house party or beach party) where one device is connected to a smart speaker, a TV, or some other communal device (e.g., a smart speaker, a smart TV, a set-top box, a tablet, a wearable device (e.g., watch, headset, moveable electronic platform) and other devices connect to a communication session to share and edit playing content.

FIGS.6A-6Nillustrate exemplary ways in which an electronic device500acan act as a hub and initiates a communication session with other electronic devices. Often, Bluetooth speakers, a smart TV, other home or vehicle devices and infotainment systems allow only one device to be connected at a given time to control and output of content. In an implementation, the electronic device500acan act as a hub for multiple devices to access and control content on these other platform and devices. Instead of having to disconnect and reconnect multiple devices, users can connect to these other devices through a communication session established on one electronic device that is in connection with the other devices. The embodiments in these figures are used to illustrate the processes described below, including the processes described with reference toFIG.7. AlthoughFIGS.6A-6Nillustrate various examples of ways an electronic device is able to perform the processes described below with respect toFIG.7, it should be understood that these examples are not meant to be limiting, and the electronic device is able to perform one or more processes described below with reference toFIG.7in ways not expressly described with reference toFIGS.6A-6N.

FIG.6Aillustrates the electronic device500awith a display generation component504ain communication602with another electronic device500cwith a display generation component504c. In some embodiments, the electronic device500ais connected to the electronic device500cwirelessly or with wires. For example, and as described in method700, the electronic device500ais connected to another electronic device500cusing Bluetooth, USB-C, USB-A, Airplay (e.g., a wireless protocol), or other forms of wireless or wired connections. In some embodiments, the electronic device500ais a mobile device, such as a smartphone, tablet, or wearable device. In some embodiments, the electronic device500cis a vehicle infotainment device. In some embodiments, the electronic device500cis a headset, TV, speaker, or other communal device. In some embodiments, the display generation component504aand the display generation component504bcomponent are hardware components (e.g., including electrical components) capable of receiving display data and displaying a user interface. In some embodiments, examples of the display generation component504aand the display generation component504cinclude a touch screen display, a monitor, a television, a projector, an integrated, discrete, or external display device, or any other suitable display device that is in communication with an electronic device500a. In some embodiments, the display generation component504aand the display generation component504ccomponent include one or more of the features described with reference to method700.

Examples described herein illustrate the electronic device500acontrolling playback of content by electronic device500c, which is associated with display generation component504b. However, it should be understood that, in some embodiments, electronic device500acontrols playback of content by another electronic device that is not associated with a dedicated display generation component. For example, the electronic device500acontrols playback of content using speakers that do not include a display generation component without departing from the scope of the disclosure.

In some embodiments, an electronic device500aincludes a content (e.g., playback, browsing, streaming, and/or sharing) application. In some embodiments, the content application is a music, podcast, video, or other content application, as described with reference to method700. In some embodiments, the content application includes user interface600, which includes an image603(e.g., album artwork) associated with a content item that is currently playing via the content application. In some embodiments, the user interface includes an indication604aof the title and artist of the content item (e.g., a song) and user interface elements604bthrough604ifor modifying playback of the content item. In some embodiments, in response to detecting an input (e.g., a gaze of the user, a contact on a touch-sensitive surface, actuation of a physical input device of the vehicle, a predefined gesture (e.g., pinch gesture or air tap gesture) and/or a voice input from the user) directed to one of the user interface elements604bthrough604i, the electronic device500amodifies playback of the content item currently playing via the content application. In some embodiments, in response to detecting the selection of user interface element604b, which includes a scrubber bar that indicates the playback position of the content item currently being played, and in response to detecting an input directed to the user interface element604b, the electronic device500aupdates the playback position of the content item in accordance with the input. In some embodiments, in response to detecting selection of user interface element604c, the electronic device500arestarts the content item that is currently playing or play a previous item in the content item playback queue. In some embodiments, in response to detecting selection of user interface element604d, the electronic device500aplays the content item and updates the user interface element604dto be a user interface element that, when selected, causes the electronic device500ato pause playback of the content item. In some embodiments, in response to detecting selection of user interface element604c, the electronic device500aceases playback of the currently-playing content item and initiates playback of the next content item in the content playback queue. In some embodiments, in response receiving an input directed to user interface element604f, the electronic device500aadjusts the playback volume of audio content of the content item. In some embodiments, in response to receiving an input selecting user interface element604g, the electronic device500adisplays time-synchronized lyrics of the content item on the user interface600. In some embodiments, in response to the selection of user interface element604h, the electronic device500adisplays one or more audio output settings to configure the output of the audio portion of the content item (e.g., selecting an output device). In some embodiments, in response to the selection of user interface element604i, the electronic device500adisplays a content playback queue, as described in greater detail in method700.

In some embodiments, the electronic device500ais in communication602with the electronic device500c, such as a vehicle information and entertainment system (e.g., infotainment system) with the display generation component504cand a speaker. In some embodiments, the electronic device500acan be a computing device, or multiple computing devices, configured to store, generate, and/or provide data to various user devices and/or the vehicle systems, as described herein. For example, the functionality described herein with reference to the electronic device500acan be performed by a single computing device or can be distributed amongst multiple computing devices.

As shown inFIG.6A, the electronic device500cpresents a content user interface606(e.g., of a content application installed on electronic device500a) via the display generation component504c. In some embodiments, the electronic device500cdisplays user interface606while the electronic device500ahas user interface600displayed and the two devices are in communication602. In some embodiments, the electronic device500ccan display user interface606while the electronic device500adoes not have user interface600displayed and the two devices are in communication602. In some embodiments, the electronic device500aprovides data relating to the content application to the electronic device500cwith or without the content application running on the electronic device500a. In some embodiments, user interface606has one or more characteristics of user interface600on electronic device500a. For example, user interface606includes an image608and user interface elements610athrough610ewhich corresponds to image603and user interface elements604athrough604eof user interface600. User interface606also include user interface elements610fthrough610h, which differ from user interface elements604fthrough604i. In some embodiments, in response to detecting selection of user interface element610f, the electronic device500ceither shuffles playback or transmits instructions to the electronic device500ato shuffle the playback order of content items in a list with a predetermined order, such as a playlist or album. In some embodiments, in response to detecting selection of user interface element610g, the electronic device500crepeats playback or transmits instructions to the electronic device500ato repeat the playback of the currently-playing content item or a currently-playing collection of content items (e.g., an album or playlist). In some embodiments, in response to detecting selection of user interface element610h, the electronic device500crecommended content items or transmits instructions to the electronic device500ato play content items recommended based on a currently-playing collection of content items at the conclusion of playback of the collection of content items. In some embodiments, the electronic device500cdetects user input (e.g., a gaze of the user, a contact on a touch-sensitive surface, actuation of a physical input device of the vehicle, a predefined gesture (e.g., pinch gesture or air tap gesture) and/or a voice input from the user) corresponding to selection of one of the user interface elements610bthrough610h, and in response, the electronic device500cmodifies playback of a content item as described above. In some embodiments, electronic device500calso includes user interface elements613aand613b, shown inFIG.6A. In some embodiments, in response to detecting selection of user interface element613a, the electronic device500creturns to a previously-displayed user interface (e.g., a playlist user interface, a home page user interface, or other user interface). In some embodiments, in response to detecting selection of user interface element613b, the electronic device500cinitiates playback of the next content item in the content playback queue.

As shown inFIG.6A, electronic device500calso includes user interface611, which includes user interface elements612athrough612dto navigate to other user interfaces. In some embodiments, in response to detecting selection of user interface element612a, the electronic device500cdisplays a maps user interface of a maps application installed on electronic device500a. In some embodiments, in response to detecting selection of user interface element612b, the electronic device500cdisplays a different user interface of a different content (e.g., music) application installed on electronic device500a. In some embodiments, in response to detecting selection of user interface element612c, the electronic device500cdisplays a user interface of a telephone application installed on electronic device500a. In some embodiments, the electronic device500cdetects user input (e.g., a gaze of the user, a contact on a touch-sensitive surface, actuation of a physical input device of the vehicle, a predefined gesture (e.g., pinch gesture or air tap gesture) and/or a voice input from the user) corresponding to selection of one of the user interface elements612athrough612c, and in response, the electronic device displays a corresponding user interface described above.

In some embodiments, the electronic device500adetects an electronic device500b(shown inFIG.6D) within a threshold distance of the electronic device500aand while the electronic device500ais in communication602with the electronic device500c, described in greater detail in method700. As shown inFIG.6B, the electronic device500cdisplays a user interface element614which includes the text “allow nearby contacts to connect automatically?”, which asks the user associated with electronic device500c(e.g., the same user associated with electronic device500a) to allow other users of other electronic devices (e.g., electronic device500b) to join a communication session that includes controlling playback of content items outputted by electronic device500c. As shown inFIG.6B, user interface element614also includes selectable option616aand selectable option616b. In some embodiments, in response to receiving an input directed to selectable option616a, contacts of the electronic device500aand/or the user account associated with electronic device500a, described in greater detail in method700, can join the communication session without additional input from the electronic device500aand/or electronic device500c. In some embodiments, in response to receiving an input directed to selectable option616b, contacts of the electronic device500aand/or the user account associated with the electronic device500acannot join the communication session without approval from the electronic device500aand/or the electronic device500c. In some embodiments, in response to receiving an input selecting either option616aor option616b, all electronic devices within the threshold distance of the electronic device500acan join the communication session upon approval from the electronic device500aor the electronic device500c, by proxy.

In some embodiments, while the electronic device500adetects an electronic device500bwithin a threshold distance of the electronic device500a, and while the electronic device500ais in communication602with the electronic device500c, the electronic device500adisplays a user interface element618, shown inFIG.6C. In some embodiments, the electronic device500cdisplays user interface element614, shown inFIG.6B, while the electronic device500adisplays user interface element618, shown inFIG.6C. In some embodiments, user interface element618has one or more characteristics of user interface element614. For example, user interface element618includes selectable option620aand selectable option620b, shown inFIG.6C, which corresponds to selectable option616aand selectable option616b, respectively.

In some embodiments, the electronic device500acan add an electronic device (e.g.,500b) to the communication session (creating a session between the electronic device500band the electronic device500ato provide access to smart speakers or other output devices that are connected to electronic device500aand not electronic device500b) started by electronic device500ausing a near-field communication tag (NFC tag) located on each device. In some embodiments, the electronic device500b“taps” the electronic device500afor a threshold amount of time at a threshold distance from the electronic device500a, as described in greater detail in method700, to initiate the communication session. In some embodiments, the electronic device500btaps the corner (as shown inFIG.6D), side, back, front, or bottom of the electronic device500ato wirelessly connect to the electronic device500ausing NFC. In some embodiments, devices that are already in the communication session are able to add an additional electronic device to the communication session, even if those devices are not the “hub” device as previously described. For example, a third electronic device (e.g., having one or more characteristics of electronic device500aand/or500b) is not in the communication session with electronic device500a(and electronic device500b). The third electronic device500receives a tap from electronic device500b(which was optionally previously invited to the session via the “hub” device500a) for a threshold amount of time at a threshold distance from the third electronic device, as described in greater detail in method700, to join the communication session with the electronic device500a. In some embodiments, even though the electronic device500b(and not electronic device500a) taps the third electronic device (or vise vera), the third electronic device is able to join the communication session, and the electronic device500aremains the “owner” or “hub” device of the communication session (e.g., the electronic device500aprovides access to smart speakers or other output devices such as electronic device500cthat are connected to electronic device500aand not the third electronic device or electronic device500b).

In some embodiments, and as shown inFIG.6D, once a tap between the two devices has been detected, the electronic device500bdisplays a user interface element624overlaid on a user interface622. In some embodiments, user interface622has one or more characteristics of user interface600. In some embodiments, user interface622is a user interface of an application other than the content application. For example, user interface622is optionally a home screen user interface, lock screen user interface, web browsing user interface, or other user interfaces. In some embodiments, user interface element624includes the text “Join session with Bonnie”. In some embodiments, electronic device500ais associated with a user account (e.g., Bonnie's user account). In some embodiments, electronic device500bis associated with a different user account (e.g., John's user account). In some embodiments, user interface element624includes text representing the user account of the electronic device500a, described in greater detail in method700. In some embodiments, user interface element624includes a selectable option626a, which is selectable to not join the communication session with the electronic device500a. In some embodiments, user interface element624includes a selectable option626b, which is selectable to join the communication session with the electronic device500a.

In some embodiments, electronic device500bhas one or more characteristics of electronic device500a. In some embodiments, the electronic device500bincludes a display generation component504b, which has one or more characteristics of display generation component504a.

In some embodiments, in response to an input on the electronic device500brequesting to join the communication session, as described in greater detail below and in method700, electronic device500c(or the electronic device500aor the third electronic device) displays a user interface element628with selectable options630a-bto authorize an electronic device (e.g., electronic device500b) to join the communication session, as shown inFIG.6E. In some embodiments, the electronic device that receives the tap from electronic device500bdisplays the user interface element628to authorize electronic device500bto join the communication session. In some embodiments, electronic device500cdisplays the user interface element628if the user account associated with the electronic device requesting to join the communication session is not a contact (e.g., the electronic device500creceives an input directed towards selectable option616bshown inFIG.6Band/or the electronic device500areceives an input directed towards selectable option620bshown inFIG.6C) or the user account associated with the electronic device requesting to join the communication session is a contact but the electronic device500creceived an input directed towards616ashown inFIG.6Band/or the electronic device500areceives an input directed towards620ashown inFIG.6Cto request authorization before any device nearby joins the communication session. In some embodiments, in response to initiating the communication session using NFC or some other short-range communication technology, the electronic device500aand/or the electronic device500callow the electronic device500bto join the communication session without additional authorization from the electronic device500aand/or the electronic device500c.

In some embodiments, and as shown inFIG.6EandFIG.6F, the user interface element628includes a selectable option630aand a selectable option630b. In some embodiments, in response to detecting selection of the selectable option630a, the electronic device500aprevents the electronic device500bfrom joining the communication session with the electronic device500a. In some embodiments, and as described in method700, if the electronic device500adenies the electronic device and/or user account associated with John Smith, then the electronic device500bcannot join future communication sessions with the electronic device500a(or other devices associated with Bonnie's user account) without the electronic device500aor another of Bonnie's devices approving the request. In some embodiments, in response to receiving an input selecting the selectable option630b, the electronic device500aallows the electronic device500bto join the communication session. In some embodiments, and as described in method700, if the electronic device500aallows an electronic device (e.g., the electronic device500band/or user account associated with John Smith) to join the communication session, then the electronic device (e.g., electronic device500b) can join future communication sessions with the electronic device500awithout the electronic device500aapproving the request. In some implementations, if the electronic device500aallows an electronic device to join the communication session, then the electronic device can join future communication sessions with the any electronic device associated with the user account (e.g., Bonnie's user account) of the electronic device500a.

In some embodiments, the electronic device500areceives the indication of a request to initiate the communication session while the electronic device500cis displaying user interface606. As a result, in some embodiments, the electronic device500cdisplays the user interface element628over user interface606, as shown inFIG.6E. Although electronic device500cwhich outputs content has a display user interface, some electronic devices connected to a main device (e.g., electronic device500a) may not have a display (e.g., smart speakers). In these implementations, a request to initiate a communication session by an electronic device (e.g., electronic device500b) would only appear on a user interface of the primary electronic device (e.g., electronic device500a) in communication with the output electronic device500c. In some embodiments, the electronic device500areceives the indication of the request to initiate the communication session while the electronic device500cis displaying a user interface of an application different than the content application (e.g., user interface634), shown inFIG.6F. In some embodiments, as a result, the electronic device500cdisplays user interface element628over user interface630. In some embodiments, and as described in method700, the electronic device500acan receive the indication of a request to initiate the communication session and display the user interface element628while displaying any user interface of any application.

In some embodiments, the electronic device500cdetects a user input (e.g., with contact632directed to selectable option630bin bothFIG.6EandFIG.6F) corresponding to a request to initiate the communication session with the electronic device500b. In response to receiving the user input directed to select selectable option630binFIG.6E, the electronic device500cdisplays user interface element637and user interface element636in the same user interface606, as shown inFIG.6G. In some embodiments, the user interface element613bis replaced with user interface element636. In some embodiments, in response to receiving the user input directed to selecting selectable option630binFIG.6Fwhile in user interface634, the electronic device500cceases to display user interface634and displays user interface606, as shown inFIG.6G. In some embodiments, and as shown inFIG.6G, while displaying user interface606, the electronic device displays user interface element637and user interface element636. In some embodiments, in response to receiving the user input illustrated inFIG.6F, the electronic device500ainitiates the communication session and the electronic device500cceases display of user interface element628, maintains display of user interface634, and displays user interface element637fromFIG.6Goverlaid on the user interface634inFIG.6F. In some embodiments, the electronic device500cdisplays the user interface element637overlaid on user interface634for a predetermined amount of time (e.g., 0.5, 1, 2, 3, or 5 seconds) before ceasing display of user interface element637.

As shown inFIG.6G, user interface element634includes a visual indication of the user account associated with the electronic device (e.g., avatar635aof John) and a textual description635bthat the electronic device500bhas joined the communication session, including a description of the user account (“John connected to the session”). In some embodiments user interface element634includes information about the user account (e.g., avatar635aand text “John”), which can be different from the information stored about the user account on the electronic device500b, described in greater detail in method900. In some embodiments, the electronic device500cdisplays user interface606with user interface element636, which is displayed in place of user interface element613b. Alternatively, in some embodiments, the electronic device500cdisplays user interface element636at the location in user interface606at which user interface element613bwas previously displayed inFIGS.6B and6E. In some embodiments, user interface element636includes text and/or images indicating the number of electronic devices in the communication session and/or the number of electronic devices waiting to join the communication session, as described in greater detail in method700. As shown inFIG.6G, user interface element636includes the number “4” indicating that there are 4 electronic devices in and/or waiting to join the communication session.

In some embodiments, the electronic device500cdetects a user input (e.g., contact638directed to user interface element636inFIG.6H) corresponding to a request to display a settings user interface640of the communication session, shown inFIG.6I. In response to the user input directed to select user interface element636inFIG.6H, the electronic device500cdisplays the settings user interface640, shown inFIG.6I.

FIG.6Iillustrates an example of the settings user interface640for the communication session, displayed in response to receiving the input illustrated inFIG.6H, for example. In some embodiments, the settings user interface includes a scannable code642, shown inFIG.6I. Although displayed on electronic device500c, in some implementations, the scannable code642is displayed on electronic device500a. In some implementations, the output device (e.g., electronic device500c) may not have a display or a touch screen for input. In these implementations, the primary device (e.g., electronic device500a) connected to the output device receives input to transmit to the output device. In some embodiments, an electronic device (e.g., the electronic device500b) scans the scannable code642to join the communication session, as described in further detail in method700. In some embodiments, the settings user interface includes visual indications644athrough644cof the user accounts associated with the devices in the communication session. For example, visual indication644aincludes the text “John” indicating that the electronic device (e.g., electronic device500b) associated with the user account in the communication session is associated with the name “John”. Visual indication644bincludes the text “Luka” indicating that another electronic device associated with another user account in the communication session is associated with the name “Luka”. Visual indication644cincludes the text “Amy” indicating that the electronic device associated with another user account in the communication session is associated with the name “Amy”. In some embodiments, the settings user interface640also includes user interface elements646athrough646c. In some embodiments, user interface element646ais displayed next to visual indication644aand associated with the electronic device500band user account associated with “John”. In some embodiments, user interface element646bis displayed next to visual indication644band associated with the and the electronic device associated with Luka's user account. In some embodiments, user interface element646cis displayed next to visual indication644cand associated with the electronic device associated with Amy's user account. In some embodiments, in response to detecting selection of one of the user interface elements646athrough646c, the electronic device500aremoves the associated electronic device and/or user account from the communication session if the associated electronic device and/or user account is already in the communication session. In some embodiments, in response to detecting selection of one of the user interface elements646athrough646c, the electronic device500aadds the associated electronic device and/or user account to the communication session if the associated electronic device and/or user account is not already in the communication session. For example, electronic device500bassociated with John and the electronic device associated with Luka are in the communication session, so user interface elements646aand646bare selectable to disconnect the associated electronic device from the communication session, as shown inFIG.6I. The electronic device associated with Amy is not currently in the communication session, so user interface element646cis selectable to allow the Amy's electronic device to join the communication session. In some embodiments, the settings user interface640also includes user interface element648awhich is selectable to remove all devices from the communication session, as shown inFIG.6Iand described in greater detail in method700. In some embodiments, the settings user interface640also includes user interface element648bwhich, when selected, causes the electronic device500ato accept all requests from devices to join the communication session, as shown inFIG.6Iand described in greater detail in method700.

FIG.6Jillustrates a queue user interface650of the content application while not in a communication session that includes controlling playback of content items. In some embodiments, user interface element636is not shown inFIG.6Jbecause the electronic device500ais not in a communication session that includes controlling playback of content items from the electronic device500ato electronic device500c. In some implementations, when electronic device500aand electronic device500care in direct communication with each other (e.g., via BlueTooth, NFC, wired connection or other wireless connection), electronic device500amay request that electronic device500coutput content items from a queue. In some embodiments, user interface650is a user interface indicating a playlist of content.FIG.6Jillustrates a playlist of music content items, for example. In some embodiments, user interface650includes a user interface element652that indicates the playlist name. In some embodiments, in response to receiving an input selecting the user interface element652, the electronic device500cdisplays a previous user interface of the content application. For example, the previous user interface is optionally user interface606, user interface634, a home page user interface of the content application, or another user interface displayed prior to displaying user interface650. In some embodiments, user interface650includes user interface element654which, when selected, causes the electronic device500aand/or electronic device500cto play the content in the playlist in a randomized order other than a predetermined order of the playlist. In some embodiments, in response to receiving a user input directed to user interface element654, the electronic device500aand/or the electronic device500cplaces all the content in the playlist (represented by user interface elements656a-c) in the content playback queue in a randomized order other than the predetermined order of the playlist. In some embodiments, user interface650also includes a plurality of user interface elements656athrough656cthat represents content items (e.g., songs) in the content playlist. In some embodiments, in response to detecting selection of user interface element656a, the electronic device500aand/or electronic device500cplays the first song. In some embodiments, in response to receiving an input selecting user interface element656b, the t electronic device500cplays the second song. In some embodiments, in response to receiving an input selecting user interface element656c, the electronic device500cplays the third song.

In some embodiments, the electronic device500cdetects a user input (e.g., contact658directed to user interface element656binFIG.6J) corresponding to a request to play the second song. In response to the user input directed to user interface element565binFIG.6J, the electronic device500cdisplays user interface606and begins playing the second song, shown inFIG.6K, and described in further detail in method700.

In some embodiments, while not in a communication session that includes controlling playback of content by the electronic device500a, in response to a user input directed to playing a content item (e.g., song), the electronic device500aand/or the electronic device500cplays the selected content item (e.g., song2inFIG.6K) before any other content items in the content playback queue are played. In some embodiments, while playing the second song and while not in the communication session, the electronic device500cdisplays user interface element613bin user interface606, as described inFIG.6A. In some embodiments, in response to detecting selection of user interface element660, the electronic device500cdisplays a user interface showing the content playback queue of the content application.

FIG.6Lillustrates user interface651, which is a user interface of a playlist, while in a communication session (e.g., with the electronic device500b) that includes controlling content playback through electronic device500a. In some embodiments, as described above, electronic device500afacilitates control of content playback on an output device (e.g., electronic device500c) by creating the communication session and allowing other electronic devices to access the output device. The user interface651has one or more characteristics of the user interface650described inFIG.6J. However, while in a communication session, the electronic device500cdisplays user interface element636, which indicates the number of devices in or waiting to join the communication session, as described above at least with reference toFIG.6G, in user interface651. During the communication session, the electronic device500cdetects a user input (e.g., contact662directed to user interface element656binFIG.6L) corresponding to a request to play the second song. In response to receiving the user input directed to select user interface element565binFIG.6L, the electronic device500cadds the second song to the content playback queue, shown inFIG.6M, and described in further detail in method700and optionally displays user interface664, a user interface of the content playback queue. In some embodiments, in response to receiving the input inFIG.6L, the electronic device500cadds the song to the content playback queue and maintains display of the user interface inFIG.6L. As described above, although electronic device500cwhich outputs content has a display user interface, some electronic devices connected to a main device (e.g., electronic device500a) may not have a display and/or a touch screen. As such, electronic device500aoptionally displays the user interfaces and user interface elements described herein instead of electronic device500cand the one or more inputs directed towards electronic device500cis optionally directed towards the user interfaces and user interface elements displayed on electronic device500ainstead.

During the communication session, the content playback queue shown in user interface664includes indications668athrough668cof the user account and/or electronic device that added the content (e.g., song), which is represented by user interface elements666athrough666c, to the content playback queue. For example, and as shown inFIG.6M, a respective electronic device and/or respective user account, represented by an avatar shown in indication668a, added song1to the content playback queue, which is represented by user interface element666a. As shown inFIG.6M, an electronic device (e.g., the electronic device500b), represented by an avatar (representing “John) shown in indication668b, added song3to the content playback queue, which is represented by user interface element666b. Indication668boptionally has one or more characteristics of avatar635as shown inFIG.6G, such as including the same image, optionally at a different size. As shown inFIG.6M, an electronic device (e.g., the electronic device500aand/or electronic device500c), represented by an avatar (representing “Bonnie” of the user account associated with electronic device500aand electronic device500c) shown in indication668b, added song2to the content playback queue, which is represented by user interface element666c. In some embodiments, the content playback queue includes an order of content items that are arranged by when they were transmitted to the electronic device500aand/or electronic device500c, as described in greater detail in method700.

FIG.6Nillustrates user interface606while in the communication session. In some embodiments, while playing a content item (e.g., song3shown inFIG.6N), the electronic device500cdisplays the indication668bof the electronic device (e.g., electronic device500b) that added the content item to the communication session. In some embodiments, when the electronic device500bleaves the communication session, the electronic device500cdisplays a user interface element670on the user interface606indicating that the electronic device has left the communication session. In some embodiments, the user interface element670includes the indication668bof the electronic device500b(which has one or more characteristics of avatar635ashown inFIG.6G) and text (“John disconnected”) describing that the electronic device500bhas left the communication session. In response to the electronic device500bleaving the communication session, the electronic device500cupdates user interface element636to indicate that one device has left the session (e.g., the number was 4 inFIG.6Mand is now 3). Additionally, in some embodiments and described in greater detail in method700, in response to the electronic device500bleaving the communication session, the content added by the electronic device500bremains in the content playback queue. For example, and shown inFIG.6N, song3, added by the electronic device500b, continues to play despite the electronic device500bleaving the session. In some embodiments, the electronic device500cmaintains songs added by the electronic device500bin the playback queue that are not currently playing in response to the electronic device500bdisconnecting from the communication session.

FIG.7illustrates a flow diagram of a method in which an electronic device initiates a communication session with another electronic device in accordance with some embodiments of the disclosure. The method700is optionally performed at first and/or electronic devices such as device100, device300, or device500as described above with reference toFIGS.1A-1B,2-3,4A-4B and5A-5C. Some operations in method700are, optionally combined and/or order of some operations is, optionally, changed.

As described below, the method700provides ways an electronic device initiates a communication session with another electronic device in accordance with some embodiments of the disclosure. Allowing other electronic devices to join a communication session with the electronic device to control the playback of the content item enables users of the electronic devices to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of the electronic devices to use the electronic devices more efficiently.

In some embodiments, method700is performed at a first electronic device in communication with a display generation component, one or more output devices (e.g., a speaker or a second display generation component), and one or more input devices, wherein the first electronic device (e.g., first electronic device500a) is associated with a first user account, as described inFIG.6A. In some embodiments, the electronic device is a mobile device (e.g., a tablet, a smartphone, a media player, or a wearable device), a vehicle information and entertainment system (e.g., infotainment system), a computer (e.g., a desktop computer, a laptop computer), and/or other electronic device. In some embodiments, the display generation component and/or second display generation component is a display integrated with the electronic device (optionally a touch screen display), external display (e.g., vehicle infotainment displays, monitors, projectors, televisions, or hardware components (optionally integrated or external) for projecting user interfaces or causing a user interfaces to be visible to one or more users. In some embodiments, the second display generation component corresponds to a vehicle infotainment display. In some embodiments, the display generation component is different from the second display generation component. For example, the display generation component is optionally larger or smaller than the second display generation component. In some embodiments, the display generation component is optionally a touch screen and the second display generation component is optionally a non-touch screen. In some embodiments, the second display generation component is located in the center of the vehicle (e.g., center display) between the driver seat and the front passenger seat. In some embodiments, the second display generation component is displayed behind the wheel (e.g., dashboard/instrument cluster or driver display) of the driver seat. In some embodiments, the electronic device is in communication with the display generation component and the second display generation component using wired or wireless communication. In some embodiments, and as will be described herein, the electronic device provides content to the display generation component and/or second display generation component. For example, the electronic device optionally provides the content and/or information to the second display generation component that defines a representation or visual appearance of a vehicle dashboard/instrument cluster system for display, via the second display generation component, as a respective user interface of the vehicle dashboard/instrument cluster system. In some embodiments, the one or more input devices include a computer system or component capable of receiving a user input (e.g., capturing a user input and/or detecting a user input) and transmitting information associated with the user input to the electronic device and/or vehicle infotainment system. Examples of input devices include physical buttons, knobs, handles, and/or switches of a vehicle, a touch screen, mouse (e.g., external), trackpad (optionally integrated or external), touchpad (optionally integrated or external), microphone for capturing voice commands or other audio input, remote control device (e.g., external), another electronic device (e.g., mobile device that is separate from the electronic device), a handheld device (e.g., external), a controller (e.g., external), a camera, a depth sensor, an eye tracking device, and/or a motion sensor (e.g., a hand tracking device, a hand motion sensor). In some embodiments, method700is performed at or by a vehicle (e.g., at an infotainment system of an automobile having or in communication with one or more display generation components and/or input devices). In some embodiments, the first user account is associated with a first user. In some embodiments, the first electronic device is associated with the first user account (e.g., that is established with a secure and/or trusted entity such as one or more servers configured to verify cryptographic information associated with the first user account) that has designated the first user as the owner of the first electronic device, thereby defining an association between the first user and the first user account.

In some embodiments, the first electronic device detects (702a), via the one or more input devices, a second electronic device (e.g., second electronic device500b) within a threshold distance of the first electronic device (e.g., 0.1 m, 1 m, 5 m, or 10 m), the second electronic device associated with a second user account different from the first user account, such as if the first electronic device500ainFIG.6Awere a threshold distance away from the second electronic device500binFIG.6D. In some embodiments, detecting the second electronic device occurs while the first electronic device is playing a content item (e.g., a song, video, podcast, or audiobook) via the one or more output devices. In some embodiments, detecting the second electronic device occurs while the first electronic device is not playing content and/or playing content different than the content item described above. In some embodiments, the second electronic device has one or more characteristics of the first electronic device. In some embodiments, the second user account is related to the first user account. For example, the second user associated with the second user account is saved as a contact on the first electronic device. In some embodiments, the second electronic device and/or the second user account is associated with a second user, different than the first user.

In some embodiments, in response to detecting the second electronic device within the threshold distance of the first electronic device, in accordance with a determination that one or more criteria are satisfied (e.g., the second user account is a contact of the first user account, the second electronic device transmits a request to join the communication session, the first electronic device accepts a request from the second electronic device to join the communication session and/or one or more of the criteria described in more detail below), the first electronic device initiates (702b) a communication session with the second electronic device that includes allowing the second electronic device to control playback of content via the one or more output devices (e.g., electronic device500c, as shown inFIG.6A). In some embodiments, one or more electronic devices are able to join the communication session, such as a third and/or fourth electronic device. In some embodiments, one or more electronic devices in the communication session are allowed to control the playback content by the first electronic device. In some embodiments, the communication session allows the second electronic device to transmit data (e.g., song information, podcast information, video information, playlist information, second user account information) to the first electronic device and vice versa. In some embodiments, the playback of content includes playback of audio (e.g., music), one or more videos, one or more podcasts, and/or one or more audiobooks. In some embodiments, the first electronic device and/or the second electronic device detects inputs from a user to control playback of content (e.g., a content item), such as to initiate, pause, and/or skip playback of the content item. In some embodiments, the second electronic device controls playback of the content item playing on the first electronic device or on an output device communicatively connected to the first electronic device. In some embodiments, the second electronic device initiates playback of a second content item, different than the first content item, via the one or more output devices. In some embodiments, the second electronic device displays a user interface associated with the playback of the content item as described below with reference to method900. In some embodiments, the user interface includes one or more selectable controls that, when selected, cause the first electronic device and/or the one or more output devices to play or pause the content item, skip forward or backward through the content item, or display lyrics concurrently with the user interface object for the content item.

In some embodiments, in accordance with a determination that the one or more criteria are not satisfied, the first electronic device forgoes initiating (702c) the communication session with the second electronic device, such as if the second electronic device (e.g., “John”) did not connect to the communication session inFIG.6G. In some embodiments, forgoing initiating the communication session with the second electronic device includes not allowing the second electronic device to transmit data, as described above, to the first electronic device and vice versa. For example, the second electronic device does not control playback of the content item playing on the first electronic device or an output device communicatively connected to the first electronic device. In some embodiments, the one or more criteria include a criterion that is satisfied when the first electronic device is within a pre-defined area. In some embodiments, the pre-defined area is associated with a respective output device, such as an interior of a vehicle associated with a vehicle infotainment system, and/or a building or a room associated with a speaker system (e.g., a smart home speaker). Optionally, the first electronic device forgoes searching for devices (e.g., a second electronic device) within a threshold distance if one or more criteria are not satisfied. For example, the electronic device evaluates whether the one or more criteria are satisfied and, in accordance with a determination that the one or more criteria are satisfied, the electronic device determines whether the second electronic device is within the threshold distance. In this example, in accordance with the determination that the one or more criteria are satisfied, in response to detecting the electronic device within the threshold distance, the electronic device initiates the communication session with the second electronic device. Allowing a second electronic device to join a communication session with the first electronic device to control the playback of the content item enables users of the first and the second electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, the first electronic device (e.g., electronic device500a) is a hub to multiple devices. In some embodiments, when the second electronic device (e.g., electronic device500b) connects to the first electronic device, such as by being in a communication session with the first electronic device, the second electronic device is able to access one or more devices connected to the first electronic device. For example, the first electronic device is connected to output devices such as a speaker, a smart home device, a TV, a vehicle infotainment system, or other output devices. During a communication session, the second electronic device is optionally able to access the one or more output devices connected to the first electronic device. As such, the second electronic device is optionally able to play content on any of the output devices connected to the first electronic device during the communication session. In some embodiments, a user of the first electronic device and/or first user account (as described inFIG.6A) chooses which output devices the second electronic device can access during the communication session.

In some embodiments, the first electronic device receives, from the second electronic device, an indication of a first request to initiate the communication session, such as an indication that results in the first electronic device displaying user interface element628shown inFIG.6EandFIG.6F. In some embodiments, the indication of the first request is transmitted after a subset of the one or more criteria are satisfied, such as one or more of the criteria described herein. In some embodiments, the indication of the first request is transmitted before the communication session between the first electronic device and the second electronic device is initiated.

In some embodiments, the one or more criteria includes a first criterion that is satisfied in response to receiving the indication of the first request to initiate the communication session, such as an indication that results in the first electronic device displaying user interface element628shown inFIG.6EandFIG.6F. In some embodiments, the first request to initiate the communication session is a request from the second electronic device to initiate a communication session with the first electronic device. In some embodiments, the first request is transmitted from the second electronic device to the first electronic device when the second electronic device does not fit the one or more criteria determined by the first electronic device to allow a device to automatically join the communication session, as described below.

In some embodiments, the one or more criteria includes a second criterion that is satisfied in response to receiving a user input corresponding to a second request to initiate the communication session, such as with contact632on second selectable option630bas shown inFIG.6EandFIG.6F. In some embodiments, in response to receiving the indication of the first request, the first electronic device requires a user input to respond to the first request, to initiate the communication session (e.g., by accepting and/or confirming the first request). In some embodiments, in response to receiving the user input, the first electronic device initiates the communication session with the second electronic device. In some embodiments, the second request further includes the first electronic device accepting the request to join the communication session from the second electronic device. Allowing the first electronic device to verify the second electronic device before initiating the communication session improves privacy and/or security of the first electronic device.

In some embodiments, in response to receiving the indication of the first request to initiate the communication session, the first electronic device displays, via the display generation component, a visual indication of the first request to initiate the communication session, such as user interface element628shown inFIG.6EandFIG.6F. For example, the visual indication of the first request is a notification presented using one or more display generation components connected to the electronic device. In some embodiments, the visual indication includes a textual description of the first request to initiate the communication session. For example, the visual indication includes a description of the second user account and the request. In some embodiments, the visual indication includes a visual representation of the second user account. Allowing the first electronic device to verify the second electronic device before initiating the communication session improves privacy and/or security of the first electronic device.

In some embodiments, the first electronic device displays, via the display generation component, a communication session settings user interface (e.g., settings user interface640shown inFIG.6I), wherein the communication session settings user interface includes a plurality of selectable options for changing one or more settings of the communication session, such as user interface elements646athrough646cand user interface elements648aand648bas shown inFIG.6I. For example, the selectable options include an option to remove a user account and/or electronic device from the communication session, an option to accept a request to join the communication session, an option to remove all devices and/or user accounts from the communication session, and an option to accept all requests to join the communication session. In some embodiments, the communication session settings user interface further includes one or more selectable options as described below. In some embodiments, the communication session settings user interface includes graphics such as a scannable code, as described below. Presenting a variety of settings in one user interface for the communication session simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed to change the settings of the communication session and avoids erroneous inputs related to changing one or more settings of the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, initiating the communication session with the second electronic device includes initiating a process to transmit an invitation to join the communication session to the second electronic device, and the one or more criteria include, in accordance with a determination that a first setting in the settings user interface is active (e.g., a setting to allow user accounts associated with users that are contacts of the user of the first electronic device to join the communication session), a first criterion that is satisfied when the first user account has a first relationship with the second user account, such as if selectable option616aon user interface element614was selected inFIG.6Bor if selectable option620aon user interface element618was selected inFIG.6C. For example, the first user account is a known contact of the second user account and vice versa.

In some embodiments, in accordance with a determination that a second setting different from the first setting in the settings user interface is active (e.g., a setting to allow user accounts associated with users that are contacts with users that are contacts with the user of the first electronic device to join the communication session), the one or more criteria includes a second criterion that is satisfied when the first user account has a second relationship different from the first relationship with the second user account, such as if settings user interface640inFIG.6Ihad a selectable option that is selectable to activate a setting to allow user accounts with a second relationship to the first user account to join the communication session. For example, the second user account is contacts with a third user account, which is a mutual contact of the first user account. In some embodiments, in response to satisfying the first criterion or the second criterion, the first electronic device transmits the invitation to join the communication session to the second electronic device. In some embodiments, transmitting the invitation to join the communication session includes requiring receiving the indication of the first request to initiate the communication session, as described above, before initiating the communication session. In some embodiments, in response to satisfying the first criterion or the second criterion, the first electronic device initiates the communication session with the second electronic device. Allowing the first electronic device to determine the criterion to transmit an invitation to join a communication session improves privacy and/or security of the first electronic device.

In some embodiments, in accordance with a determination that a first setting in the settings user interface is active, a first criterion that is satisfied when the second user account has a first relationship to the first user account without requiring receiving a user input, at the first electronic device, the first electronic device authorizes initiation of the communication session with the second electronic device, such as if selectable option616aon user interface element614was selected inFIG.6Bor if selectable option620aon user interface element618was selected inFIG.6Cto allow devices to join automatically. In some embodiments, selectable options616aor selectable option620aare also shown in the settings user interface640. In some embodiments, the first setting is a setting to allow user accounts associated with a user that is a known contact of the first user account (e.g., the second user account) to automatically enter the communication session with the first electronic device without approval from the first electronic device. For example, the first relationship includes a relationship where the first electronic device and/or the first user account stores information about the second user account and/or the second electronic device. In some embodiments, the second electronic device with the first relationship receives an invitation to join the communication session, as described above and transmits a first request to initiate the communication session back to the first electronic device. in response to transmitting the first request, the first electronic device initiates the communication session without requiring an additional input, from the first electronic device, to initiate the communication session.

In some embodiments, in accordance with a determination that a second setting different from the first setting in the settings user interface is active, a second criterion that is satisfied when the second user account has a second relationship different from the first relationship to the first user account without requiring receiving the user input, the first electronic device authorizes initiation of the communication session with the second electronic device, such as if settings user interface640inFIG.6Ihad a selectable option that is selectable to activate a setting to allow user accounts with a second relationship to the first user account to join the communication session automatically. In some embodiments, the second relationship is a relationship where the first electronic device and/or the first user account stores information about a third user account and/or third electronic device, which is also stored on the second user account and/or the second electronic device. In other words, the first user account and the second user account have mutual contacts. In some embodiments, while the second setting is active, the second user account and/or the second electronic device is automatically connected to the communication session (upon transmitting a request to initiate the communication session) with the first electronic device and/or the first user account without approval from the first electronic device. In some embodiments, the first electronic device and/or the first user account determines the criteria that other electronic device and/or user accounts can join the communication session. In some embodiments, the second electronic device with the second relationship receives an invitation to join the communication session, as described above and transmits a first request to initiate the communication session back to the first electronic device. in response to transmitting the first request, the first electronic device initiates the communication session without requiring an additional input, from the first electronic device, to initiate the communication session. In some embodiments, if either or both of the first setting and the second setting are not active, then the first electronic device requires a user input to authorize the initiation of the communication session before initiating the communication session. Allowing the first electronic device to determine the criterion initiate a communication session improves privacy and/or security of the first electronic device.

For example, the first relationship is optionally a relationship where John's device, as described inFIG.6D(e.g., electronic device500b) is saved as a contact in Bonnie's device (e.g., electronic device500ashown inFIG.6A). The second relationship is optionally a relationship where John is a contact once removed from Bonnie. For example, Annie is a contact of Bonnie and Annie is a contact of John. In some embodiments, while the second electronic device has a first relationship or a second relationship to the first electronic device, John no longer has to ask Bonnie to change the content or add content. In some embodiments, while the second electronic device has a first relationship or a second relationship to the first electronic device, the second electronic device receives an indication that a communication session can be initiated and displays a visual indication as a result, such as user interface element804as shown inFIG.8B.

In some embodiments, the first electronic device displays a user interface of a content playback application used to play content (e.g., music, audiobooks, podcasts, videos, or other content) selected by the second electronic device in the communication session, such as user interface606shown inFIG.6G. For example, the content application is a music playback application, podcast playback application, audiobook playback application, or any other content playback application. In some embodiments, the user interface is a user interface that allows the first electronic device to control playback of the content.

In some embodiments, during the communication session with the second electronic device, the user interface of the content application includes a visual indication initiating a number of devices participating in the communication session, such as user interface element636shown inFIG.6G. In some embodiments, the visual indication includes text indicating the number of devices and/or a visual representation indicating the number of devices (e.g., four avatars representing four devices in the communication session). In some embodiments, the visual indication is a selectable option selectable to indicate the number of user accounts and/or devices waiting to join the communication session and/or the number of user accounts and/or devices in the communication session, as described below.

In some embodiments, while not in the communication session with the second electronic device, the user interface of the content application does not include the visual indication, such as shown inFIG.6A. In some embodiments, when the communication session has ended, the visual indication is no longer displayed. In some embodiments, before the initiation of the communication session, the visual indication is not displayed. Displaying a visual indication of the number of devices participating in the communication session without user input reduces the need for manual inputs reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, during the communication session with the second electronic device, the visual indication further indicates the number of devices waiting to join the communication session, such as shown by user interface element636inFIG.6H, which is selectable to show the devices waiting to join. In some embodiments, the visual indication indicates the number of devices within the threshold distance of the first electronic device. In some embodiments, and as described above, the devices waiting to join the communication session are associated with user accounts that are contacts and/or mutual contacts of the first user account and/or the first electronic device. In some embodiments, the visual indication includes text describing a number which is a combination of the number of devices waiting to join the communication session and the number of devices that are currently in the communication session. In some embodiments, the number of devices waiting to join the communication session are the devices that have received the invitation to join the communication session, as described above, and have transmitted a request to initiate the communication session with the first electronic device but are waiting for the confirming input at the first electronic device to join the communication session. In some embodiments, the number of devices waiting to join the communication session is also displayed in the communication session settings user interface, described above. Displaying a visual indication of the number of devices waiting to join the communication session without user input reduces the need for manual inputs reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the electronic device.

In some embodiments, the one or more criteria include a criterion that is satisfied when the second electronic device was previously in the communication session with the first electronic device within a threshold amount of time, such as if the second electronic device500bleft the communication session within a threshold amount of time (and not in the communication session while in the threshold distance of the first electronic device) (e.g., 1 min, 10 min, 15 min, 30 min, 45 min, 1 hour, 2 hours, 4 hours, 12 hours, or 18 hours or 1 or 2 days). In some embodiments, in response to detecting the second electronic device leaving the communication session, the first electronic device displays a visual indication that the second electronic device has left the communication session (e.g., the second electronic device is greater than the threshold distance away from the first electronic device and/or the second electronic device receives an input to leave the communication session). In some embodiments, the second electronic device automatically re-joins the communication session within a threshold amount of time of leaving the communication session. For example, the second electronic device optionally re-joins the communication session when it is within the threshold distance of the first electronic device without requiring authorization by the first electronic device for the second electronic device to re-join the communication session. In some embodiments, the second electronic device still needs to request to initiate the communication session. The second electronic device optionally automatically joins a new communication session initiated by the first electronic device. Allowing a second electronic device to re-join a communication session with the first electronic device to control the playback of the content item enables users of the first and the second electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, the one or more criteria include a criterion that is satisfied when the second electronic device was previously in the communication session with the first electronic device within a threshold amount of time (e.g., the threshold amount of time as described above) and left the communication session in response to the second electronic device receiving a user input corresponding to a request to leave the communication session, such as if a user of the second electronic device500brequested to leave the communication session using selectable option848, as shown inFIG.8I. In some embodiments, the first electronic device and the second electronic device display a visual indication of the second electronic device leaving the communication session in response to the second electronic device leaving the communication session. For example, the visual indication includes text describing the second user account and/or the second electronic device leaving the communication session.

In some embodiments, the criterion is not satisfied when the second electronic device was previously in the communication session and left the communication session in response to the first electronic device receiving an input corresponding to a request to remove the second electronic device from the communication session (and not in the communication session while in the threshold distance of the first electronic device) without the second electronic device requesting to leave the communication session, such as if an input was detected on user interface element646aor646bshown inFIG.6I. In some embodiments, the second electronic device and/or other electronic devices associated with the second user account does not automatically re-join the communication session when the device is within the threshold distance of the first electronic device if the second electronic device was removed from a previous communication session by the first electronic device. In some embodiments, if the first electronic device creates a new communication session, the first electronic device does not initiate the communication session with the second electronic device and/or other electronic devices associated with the second user account. In some embodiments, the second electronic device and/or the other electronic devices associated with the second user account are able to join the communication session if the second electronic device and/or other electronic devices associated with the second user account transmits an indication of a request to initiate the communication session with the first electronic device, as described above, and the first electronic device receives a user input corresponding to a second request to accept the first request and initiate the communication session. In some embodiments, if the first electronic device receives an input to remove the second electronic device, the second electronic device and/or the second user account has to request to be in future communication sessions with the first electronic device. Allowing the first electronic device to prevent electronic devices to join the communication session automatically improves privacy and/or security of the first electronic device.

In some embodiments, the one or more criteria include a criterion that is satisfied when a third electronic device associated with the second user account was previously in the communication session with the first electronic device within a threshold amount of time, such as if a fourth electronic device was associated with the second user account (e.g., the threshold time as described above) (and not in the communication session while in the threshold distance of the first electronic device). In some embodiments, the third electronic device associated with the second user account can join the communication session with the first electronic device automatically (e.g., without verification from the first electronic device) if a different electronic device (e.g., the second electronic device) associated with the same user account was previously in a communication session with the first electronic device. In some embodiments, the first electronic device, second electronic device, and/or third electronic device displays a visual indication of the third electronic device joining the communication session in response to the third electronic device joining the communication session. Alternatively, in some embodiments, the one or more criteria are not satisfied if a different electronic device (e.g., the third electronic device) associated with the second user account was previously in the communication session, and the third electronic device is not able to join the communication session unless and until the first electronic device authorizes the third electronic device joining the communication session. Allowing a third electronic device associated with the second user account to re-join a communication session with the first electronic device to control the playback of the content item enables users of the first and the third electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, the first electronic device allowing the second electronic device to control playback of content further includes allowing the second electronic device to transmit an indication of a content item (e.g., such as in response to selecting a song, podcast, video, or other content to play) to the first electronic device to be added to a content playback queue, such as “song3” being transmitted by the second electronic device500band shown in user interface664inFIG.6M. In some embodiments, the content playback queue is a list of content to be played by the first electronic device using an output device in communication with the first electronic device. For example, the content playback queue is a list of content for the first electronic device and/or output device to play.

In some embodiments, after the communication session between the first electronic device and the second electronic device has ended, the first electronic device maintains the content playback queue with the content item corresponding to the indication transmitted from the second electronic device, such as shown by the electronic device500bleaving the communication session inFIG.6Nbut the content item transmitted by the electronic device500bcontinues playing. In some embodiments, in response to the second electronic device leaving the communication session, the content playback queue includes the content items added to the content playback queue by the second electronic device until the first electronic device plays the content items added to the content playback queue by the second electronic device. Alternatively, in some embodiments, in response to the second electronic device leaving the communication session, the indication of content items transmitted from the second electronic device are removed from the content playback queue. Retaining the content playback queue even if the communication session has ended reduces the need for manual inputs to remake the content playback queue, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, during the communication session with the second electronic device, while displaying a user interface of a content playback application (e.g., such as a content playback application as described above) used to play content selected by the second electronic device in the communication session, the first electronic device receives, via the one or more input devices, a first input directed towards a first selectable option corresponding to a request to display a communication settings user interface, such as with contact638on user interface element636shown inFIG.6H. For example, the electronic device detects a tap (e.g., with an index finger of a hand), or a click (e.g., with a mouse or trackpad) at a location on a touch sensitive display. In some embodiments, the first selectable option includes the visual indication initiating a number of devices participating in the communication session and/or the number of devices waiting to join the communication session, which is described above. In some embodiments, the communication settings user interface also includes a plurality of selectable options for changing one or more settings of the communication session, as described above.

In some embodiments, in response to receiving the first input, the first electronic device displays the communication settings user interface including a scannable code (e.g., scannable code642) (e.g., a QR code, barcode, or other image) to join the communication session, such as shown by displaying settings user interface640inFIG.6Iin response to the selection of user interface element636inFIG.6H. In some embodiments, an electronic device, such as second electronic device and/or third electronic device, scans the scannable code to join the communication session without additional verification (e.g., an indication of a request to initiate the communication session as described above). For example, the second electronic device and/or third electronic device captures an image of the scannable code using a camera. Alternatively, in some embodiments, scanning the scannable code includes transmitting the indication of the request to initiate the communication session from the electronic device that scanned the code to the first electronic device. In some embodiments, in response to scanning the scannable code, the first electronic device receives a visual indication (e.g., a notification) that an electronic device has joined the communication session. In some embodiments, the scannable code is displayed using an output device. In some embodiments, the scannable code is displayed on the first electronic device. In some embodiments, scanning the scannable code allows devices that have not received the request/invitation to join the communication session to receive a request/invitation to join the communication session. Allowing electronic devices to join the communication session with a scannable code reduces the need for manual inputs to allow electronic devices to join the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, the one or more criteria that are satisfied to initiate the communication session with the second electronic device includes a criterion that is satisfied in response to receiving an indication of a scan of the scannable code from the second electronic device without requiring receiving a user input (e.g., at the first electronic device) authorizing initiation of the communication session with the second electronic device, such as if the second electronic device has scanned the scannable code642as shown inFIG.8G. In some embodiments, the second electronic device scans the scannable code using a camera application. In some embodiments, scanning the scannable code initiates the communication session with the second electronic device without the second electronic device transmitting the indication of the request to initiate the communication session to the first electronic device, as described above. In some embodiments, the user input authorizing initiation of the communication session is an input, such as described above, on a selectable option to allow the second electronic device to join the communication session. In some embodiments, the first electronic device and/or the second electronic device receives a visual indication (e.g., notification) of the scan of the scannable code. Allowing the second electronic device to join the communication session without requiring a user input to authorize the initiation of the communication session simplifies the user interaction thereby reducing the likelihood of erroneous inputs to initiate the communication session.

In some embodiments, the communication session settings user interface includes a second selectable option selectable to remove the second electronic device from the communication session, such as user interface element648ainFIG.6Iand a third selectable option selectable to remove all electronic devices from the communication session, such as user interface element648binFIG.6I. In some embodiments, the second selectable option includes a visual description (e.g., text or image) of the user account and/or electronic device that the first electronic device can remove from the communication session. In some embodiments, the communication session settings user interface includes a number of selectable options to remove specific electronic devices corresponding to the number of electronic devices in the communication session. In some embodiments, removing the second electronic device from the communication session prevents the second electronic device from connecting to the communication session and future communication sessions with the first electronic device automatically and/or without additional authorization. In some embodiments, removing the second electronic device from the communication session does not prevent the second electron device from connecting to the communication session and future communication sessions with the first electronic device automatically and/or without additional authorization. In some embodiments, removing all electronic devices from the communication session ends the communication session. In some embodiments, removing all electronic devices from the communication session prevents all electronic devices and/or all user accounts from connecting to the communication session and future communication sessions with the first electronic device automatically and/or without additional authorization. In some embodiments, removing all electronic devices from the communication session does not prevent all electronic devices from connecting to the communication session and future communication sessions with the first electronic device automatically and/or without additional authorization. Presenting settings to remove all electronic devices or to remove specific electronic devices simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed to remove electronic devices and avoids erroneous inputs related to changing one or more settings of the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, initiating the communication session with the second electronic device includes initiating a process to transmit an invitation to join the communication session to the second electronic device, and the one or more criteria are satisfied or not satisfied irrespective of the first electronic device displaying a user interface of an application (e.g., a home screen user interface, a user interface of a maps application, a user interface of a weather application, or other user interfaces) other than a content playback application used to play content (e.g., the content playback application described above) selected by the second electronic device in the communication session, such as user interface element628being displayed in user interface634inFIG.6F, which is a user interface of an application other than the content playback application. In some embodiments, the invitation to join the communication session is described in greater detail above. In some embodiments, the first electronic device displays a user interface of the content playback application in response to the initiation of the communication session. In some embodiments, the first electronic device displays a visual indication of the first request to initiate the communication session, as described above, while displaying the user interface of the application other than the content playback application. In some embodiments, the first electronic device receives a user input directed to accepting the first request to initiate the communication session while displaying the user interface of the application other than the content playback application and as a result, initiates the communication session. Alternatively, in some embodiments, the one or more criteria are satisfied or not satisfied while the first electronic device is displaying a user interface of the content playback application. Initiating an invitation to join the communication session to other electronic devices, such as the second electronic device, while in other user interfaces of other applications reduces the need for manual inputs to transmit an invitation to join the communication session and/or to initiate the communication session which reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, while playing a first content item with a first content application different from a second content application used to play content selected by the second electronic device in the communication session, via the one or more output devices (e.g., the second display generation component as described above), the first electronic device detects the initiation of the communication session with the second electronic device, such as if the communication session was initiated (e.g., by selecting selectable option630bshown inFIG.6E) on a user interface of a content application other than a music application. For example, the first electronic device is optionally playing a podcast with a podcast application different than a music application. In some embodiments, the first electronic device is displaying a user interface of the first content application while playing the first content item.

In some embodiments, in response to detecting the initiation of the communication session with the second electronic device, the first electronic device ceases playing the first content item with the first content application and plays a second content item with the second content application, such as if content from the first content application ceases to play and content (e.g., song2) from the content application shown inFIG.6Ebegins to play. For example, in response to initiating the communication session, such as the second electronic device joining the communication session, the podcast stops playing and music begins playing. In some embodiments, the communication session is associated with a content item (e.g., music, podcast, video, or other content). For example, if the communication session is associated with podcasts and music is currently playing, in response to the initiation of the communication session, music stops playing, and a podcast begins playing. In some embodiments, in response to the initiation of the communication session, the first electronic device resumes playing the second content item that was previously playing in the second content application or plays content added to the content playback queue by the second electronic device. Playing the second content item in response to the initiation of the communication session while playing the first content item reduces the need for manual inputs to switch content items in response to the initiation of the communication session reduces the likelihood of erroneous inputs to the first electronic device, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, the first electronic device initiates the communication session with the second electronic device while the first electronic device is not playing any content (e.g., music, podcasts, videos, or other content as described above), such as if song2were not playing inFIG.6E. In some embodiments, the one or more criteria does not include a criterion that is satisfied when the first electronic device plays content. In some embodiments, the first electronic device initiates the playback of content (e.g., a content item) in response to the initiation of the communication session, such as described above. In some embodiments, the second electronic device and/or second user account determines the content item to be played in response to the initiation of the communication session. In some embodiments, the first electronic device determines the content item to be played in response to the initiation of the communication session. Initiating the communication session without playing any content reduces the need for manual inputs to begin playing content to initiate the communication session reducing the likelihood of erroneous inputs to the first electronic device, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, during the communication session, the first electronic device displays, via the display generation component, a user interface of a content playback application used to play content (e.g., a content item) selected by a respective electronic device in the communication session (e.g., user interface606shown inFIG.6N) that includes, in accordance with a determination that a content item that is currently playing was played in response to a request made by the second electronic device in the communication session, the first electronic device displays a visual indication of the second user account, such as shown by indication668bon user interface606inFIG.6N. In some embodiments, the user interface of the content playback application is a user interface at which the first electronic device and/or an output device detects inputs from a user to control playback of the content item, such as to initiate, pause and/or skip playback of the content item. In some embodiments, the user interface includes one or more selectable controls that are selectable to play or pause the content item or skip forward or backward through the content item. In some embodiments, the user interface includes information about the content item, such as indications of the name of the content item, the name of an artist associated with the content item, a name of a collection (e.g., playlist, album, or series) of content items to which the content item belongs, and/or an image (e.g., album artwork, series artwork, or audiobook cover) associated with the content item. In some embodiments, the second electronic device transmits data about the content item to the first electronic device. In some embodiments, the visual indication of the second user account includes a textual description of the second user account and/or an avatar representing the second user account.

In some embodiments, during the communication session, the first electronic device displays, via the display generation component, a user interface of a content playback application used to play content (e.g., a content item) selected by a respective electronic device in the communication session (e.g., user interface606shown inFIG.6N) that includes, in accordance with a determination that the content item that is currently playing was played in response to a request made by a third electronic device in the communication session different from the second electronic device, the first electronic device displays a visual indication of a third user account associated with the third electronic device and different from the second user account, such as if an indication representing the third user account were displayed on user interface606. In some embodiments, the third electronic device transmits data about the content item to the first electronic device. In some embodiments, the visual indication of the third user account includes a textual description of the third user account and/or an avatar representing the third user account. In some embodiments, the first electronic device begins playing the content item transmitted from the second electronic device to the first electronic device. As a result, a visual indication of the second user account is displayed in the user interface. In some embodiments, the second electronic device does not transmit the file of the content item, rather a representation of the content item which is retrieved from a server by the first electronic device, as described above. Displaying a visual indication of the user account that requested the content item while playing the content item without user input reduces the need for manual inputs which reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, the first electronic device receives, via the one or more input devices, a first input selecting a content item for playback in a user interface of a content playback application used to play content selected by the second electronic device in the communication session, such as shown by contact662selecting user interface element656brepresenting song2inFIG.6L. In some embodiments, the first input has one or more characteristics of the first input as described above. In some embodiments, a user of the second electronic device selects the content item on a user interface of the content playback application on the second electronic device, which is transmitted to the first electronic device.

In some embodiments, in response to receiving the first input selecting the content item, in accordance with a determination that the first input is received while the first electronic device is in the communication session with the second electronic device, the first electronic device adds the content item to a content playback queue, such as shown by song2being added to the content playback queue in user interface664inFIG.6M. In some embodiments, the content playback queue has one or more characteristics of the content playback queue as described above. In some embodiments the content item is added to the end of the content playback queue. In some embodiments, playing the content item added to the content playback queue includes waiting for the content items ahead of the content item to be played before playing the content item. In some embodiments, adding the content item to the content playback queue does not interrupt the playback of the presently playing content item. The second electronic device and/or the first electronic device optionally modifies the content playback queue. For example, the second electronic device (or the first electronic device, or any device in the communication session) can rearrange the order of the content playback queue. Alternatively, in some embodiments, while the communication session is active, the content item is played in response to the first input.

In some embodiments, in accordance with a determination that the first input is received while the first electronic device is not in the communication session with the second electronic device, the first electronic device plays the content item, such as shown by song2playing inFIG.6Kin response to a contact658selecting user interface element656brepresenting song2inFIG.6J. Alternatively, in some embodiments, the content item is placed in a content playback queue while the first electronic device is not in the communication session. In some embodiments, playing the content item includes playing with one or more input devices and/or one or more output devices. In some embodiments, playing the content item includes stopping the playback of the presently playing content item to play the content item. In some embodiments, playing the content item includes playing the content item before content items in a content playback queue are played. In some embodiments, in response to the first input to play the content item, the content playback queue is erased. In some embodiments, while not in the communication session, the first electronic device can place the content item in a content playback queue or play the content item. Placing the content item in a content playback queue reduces the need for manual inputs to create the content playback queue which reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, the electronic devices (e.g., electronic device500aand/or electronic device500b) uses the first electronic device's subscription to play a content item during the communication session independent of which electronic device (e.g., first electronic device or second electronic device) added the content item to the communication session, such as if the electronic device500bdoes not have a subscription and adds a content item to the content playback queue during the communication session. In some embodiments, while in the communication session, all devices in the communication session use the same subscription to the content delivery service associated with the content playback application. For example, all the devices in the communication session (e.g., the second electronic device) use the first electronic device's and/or the first user account's subscription to the content delivery service (e.g., music streaming service or video streaming service). Alternatively, in some embodiments, each device in the communication session has their own subscription to the content delivery service. In some embodiments, the second electronic device uses the first electronic device's subscription to the content delivery service when the second electronic device and/or the second user account does not have their own subscription. In some embodiments, the second electronic device and/or the second user account is able to control the playback of the content with the content application by the first electronic device without a subscription to the content delivery service. Sharing the subscription to the content delivery system simplifies the sharing and playing of content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, while in the communication session with the second electronic device, the first electronic device detects disconnecting from the one or more output devices, such as disconnecting from an output device associated with electronic device500cshown inFIG.6A(e.g., the output device being used to play content items in the communication session).

In some embodiments, in response to detecting the disconnecting from the one or more output devices, the first electronic device concludes the communication session, such as shown by the user interface element688binFIG.8Non the electronic device500bdescribing that the communication session has concluded because the first electronic device has disconnected from the one or more output devices. (e.g., disconnecting the second electronic device from the first electronic device). In some embodiments, once the first electronic device disconnects from one or more output devices, the communication session ends. For example, if the first electronic device disconnects from the second display generation component, as described above, such as by way of turning off a vehicle and therefore disconnecting from the vehicle sound system, then the communication session ends. In some embodiments, vehicles include automobiles (cars/trucks), EVs, aircraft, watercraft, and trains. Alternatively, in some embodiments, in response to detecting the first electronic device disconnecting from the communication session, the “ownership” of the communication session transfers to the second electronic device (or other electronic devices in the communication session) and the communication session does not end. Ending the communication session by disconnecting all devices in the communication session in response to the first electronic device disconnecting from the one or more output devices simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed end the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, the one or more criteria include a criterion that is satisfied in response to a near-field communication with the second electronic device, such as shown by the electronic device500btapping the first electronic device500ainFIG.6D.

In some embodiments, the first electronic device can initiate the communication session with the second electronic device using near-field communication (NFC). For example, the second electronic device optionally “taps” or “bumps” the first electronic device to initiate the communication session. In some embodiments, the second electronic device is within a threshold distance (e.g., 0.001 m, 0.01 m, 0.1 m, 1 m, or 10 m) from the first electronic device. In some embodiments, the second electronic device receives an indication to join the communication session when it is at the threshold distance from the first electronic device for a threshold amount of time (0.1 seconds, 1 second, 5 seconds, 30 seconds, or 1 minute). In some embodiments, joining the communication session using NFC does not require additional authorization/verification from the first electronic device to initiate the communication session. Alternatively, in some embodiments, joining the communication session using NFC does require additional authorization/verification from the first electronic device to initiate the communication session. Allowing the second electronic device to join the communication session using NFC simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed to allow the second electronic device to join the communication session, which reduces power usage and improves battery life of the first electronic device.

It should be understood that the particular order in which the operations inFIG.7have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods described herein (e.g., method900) are also applicable in an analogous manner to method700described above with respect toFIG.7. For example, the operation of the electronic device initiates a communication session described above with reference to method700optionally has one or more of the characteristics of the transmission of content during the communication session with reference to other methods described herein (e.g., method900). Additionally, the communication session described with reference to method700optionally has one or more characteristics of the communication session described with reference to method900. For brevity, these details are not repeated here.

The operations in the information processing methods described above are, optionally, implemented by running one or more functional modules in an information processing apparatus such as general purpose processors (e.g., a as described with respect toFIGS.1A-1B,3,5A-5J) or application specific chips. Further, the operations described above with reference toFIG.7are, optionally, implemented by components depicted inFIGS.1A-1B. For example, detecting operation702a, initiating operation702b, and foregoing initiating operation702care, optionally, implemented by event sorter170, event recognizer180, and event handler190. When a respective predefined event or sub-event is detected, event recognizer180activates an event handler190associated with the detection of the event or sub-event. Event handler190optionally utilizes or calls data updater176or object updater177to update the application internal state192. In some embodiments, event handler190accesses a respective GUI updater178to update what is displayed by the application. Similarly, it would be clear to a person having ordinary skill in the art how other processes can be implemented based on the components depicted inFIGS.1A-1B.

Receiving a Request to Join a Communication Session and Controlling Playback of Content

Users interact with electronic devices in many different manners. In some embodiments, an electronic device, associated with a user account, is connected a display generation component and one or more input devices. In some embodiments, the electronic device can control playback of content through another electronic device (e.g., electronic device500a) while in a communication session with the other electronic device. In some embodiments, the electronic device receives an indication that a communication session can be initiated with the other electronic device. In some embodiments, the second electronic device receives an input to join the communication session. Once in the communication session, the electronic device can transmit indications of content items to be played at the other electronic device. The embodiments described below provide ways in which the electronic device joins a communication session with the other electronic device and controls playback of content through the other electronic device. Allowing a electronic device to join a communication session with the other electronic device to control the playback of the content item enables users of the electronic devices to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently. It is understood that people use devices. When a person uses a device, that person is optionally referred to as a user of the device.

FIGS.8A-8Nillustrate exemplary ways in which an electronic device500breceives a request to join a communication session that includes controlling playback of content through a different electronic device (which acts like a hub) and joins the communication session with other electronic devices according to some embodiments. The embodiments in these figures are used to illustrate the processes described below, including the processes described with reference toFIG.9. AlthoughFIGS.8A-8Nillustrate various examples of ways an electronic device is able to perform the processes described below with respect toFIG.9, it should be understood that these examples are not meant to be limiting, and the electronic device is able to perform one or more processes described below with reference toFIG.9in ways not expressly described with reference toFIGS.8A-8N.

FIG.8Aillustrates electronic device500b, which is associated with a user account with a display generation component504b. InFIG.8A, the electronic device500bdisplays a lock screen user interface800that includes a user interface element802athat indicates the current date and time. The lock screen user interface800also includes user interface element802bwhich, when selected causes the electronic device500bto activate a flashlight in communication with the electronic device500b, and user interface element802c, which, when selected causes the electronic device500bto open a camera user interface of camera application on the electronic device500b. In some embodiments, the lock screen user interface800shown inFIG.8Arepresents a lock screen user interface800when the electronic device500bis not within a threshold distance, described in greater detail in methods700and900, of a electronic device500a.

FIG.8Billustrates the electronic device500bwith the lock screen user interface800while the electronic device500bis within a threshold distance of the electronic device500aand/or electronic device500cdescribed in more detail above with reference to method700. In some embodiments, electronic device500bdisplays a user interface element804on the lock screen user interface800when the electronic device500breceives an indication that a communication session between the electronic device500aand the electronic device500bcan be initiated, as described in greater detail in method900. In some embodiments, and as described above, while in the communication session with the electronic device500a, electronic device500bis able to access other electronic devices connected to electronic device500a. In some embodiments, user interface element804includes a textual description that the electronic device500bcan join a communication session with the user of the electronic device500a(e.g., user of user account, “Bonnie”), and an icon representing a communication session. In some embodiments, the user interface element804, which, when selected causes the electronic device500bto initiate the communication session with the electronic device500a. In some embodiments, the user interface element804remains on the lock screen user interface800while the electronic device500bis within the threshold distance of the electronic device500a, as described in method900. In some embodiments, in response to receiving an input selecting the user interface element804, the electronic device500bnavigates to a user interface of the content application (e.g., the content application including content that is shared during the communication session), such as user interface814as shown inFIG.8D. In some embodiments, the electronic device500bupdates the user interface element804to a different user interface element, such as shown inFIG.8I, when the communication session is initiated between the two devices.

For example, John's device (500b) is in a vehicle with Bonnie's device (500a), which is connected to a vehicle infotainment system as described above. While in the vehicle, which is within the threshold distance, John's device (500b) receives an indication from Bonnie's device to join the communication session, which is displayed on the lock screen user interface800as user interface element804.

In some embodiments, the electronic device500bcan join the communication session while displaying a user interface of the content application associated with the communication session.FIG.8Cillustrates a user interface805of a content application (e.g., music application). In some embodiments, the content application is associated with the communication session and enables the electronic device500bto control playback of content items by the electronic device500aduring the communication session. In some embodiments, user interface805has one or more characteristics of the user interface600described inFIG.6A. For example, image806corresponds to image603ofFIG.6A, indication808acorresponds to indication604aofFIG.6A, and the plurality of user interface elements808bthrough808icorresponds to the plurality of user interface elements604bthrough604iofFIG.6A. In some embodiments, in response to receiving an input on user interface element808h, the electronic device500bdisplays an audio output menu810on user interface805. In some embodiments, the audio output menu810includes a plurality of selectable options812athrough812bthat, when selected, cause the electronic device500bto select an output device to play the content with the content application. In some embodiments, in response to receiving an input selecting selectable option812a, the electronic device500bconnects wirelessly to “speaker” such that the audio is now being played through “speaker”. In some embodiments, in response to receiving an input selecting selectable option812b, the electronic device500bplays the audio associated with the content item currently being played through the electronic device500b(e.g., a speaker on the electronic device500b). In some embodiments, in response to receiving an input selecting selectable option812c, the electronic device500bplays the audio associated with the content item currently being played through the electronic device500c(e.g., “Bonnie's car”) described in more detail inFIG.6A-6Iand method700. In some embodiments, as described above, electronic device500bis able to control electronic device500cthrough the communication session. In some embodiments, selecting the selectable option812ccorresponding to a different electronic device begins the communication session with the associated user account (e.g., user account associated with electronic device500a) and/or electronic device (e.g., electronic device500aand/or electronic device500c), which is described in greater detail in method900.

In some embodiments, the electronic device500bcan join the communication session while displaying a different user interface in the content application.FIG.8Dillustrates home page user interface814of the content application. In some embodiments, the home page user interface814includes a plurality of user interface elements816athrough816dthat are selectable to open different playlists of content (e.g., playlists of songs). For example, in response to receiving an input selecting user interface element816c, the electronic device500bopens a playlist user interface shown inFIG.8J. In some embodiments, home page user interface814also includes a playback control element818, which includes selectable options to control the playback of the currently playing content item (e.g., song2inFIG.8D). In some embodiments, home page user interface814also includes a navigation bar820that includes selectable options that, when selected, cause the electronic device500bto display various user interfaces of the content application. In some embodiments, while a communication session with the electronic device500acan be initiated, the electronic device500bdisplays a user interface element822indicating that a communication session with the electronic device500acan be initiated (“Join session with Bonnie”) on the home page user interface814of the content application. In some embodiments, in response to detecting an input selecting user interface element822, the electronic device500binitiates (or requests to initiate) the communication session with the electronic device500a. In some embodiments, during the communication session, the electronic device500bupdates the user interface element822to indicate that the electronic device is in the communication session (e.g., “Communication session with Bonnie active”). In some embodiments, the electronic device500bdisplays user interface element822in one or more other user interfaces of the content application, such as one or more of the user interfaces displayed in response to receiving an input selecting one of the options included in navigation bar820, as shown inFIG.8D.

In some embodiments, while content is currently playing on the content application, the electronic device500bdisplays a companion user interface element826concurrently with other user interfaces of the content application and/or other applications. As shown inFIG.8E, the electronic device500bdisplays the companion user interface element826of the content application in a home screen user interface824. In some embodiments, the home screen user interface824includes a plurality of selectable elements (e.g., shown as icons inFIG.8E) that, when selected, causes the electronic device500bto navigate to user interfaces of different applications. In some embodiments, each selectable element represents a different application and is selectable to open a user interface of the respective application. In some embodiments, in response to selecting the companion user interface element826, the electronic device500bdisplays an expanded user interface element (shown inFIG.8F) which includes selectable options to control playback of the presently playing content item and/or join a communication session.

In some embodiments, the electronic device500bdetects a user input (e.g., contact828directed to companion user interface element826inFIG.8E) corresponding to a request to display the expanded user interface element830with the electronic device500b. In response to receiving the user input directed to the companion user interface element826inFIG.8E, the electronic device500bdisplays the expanded user interface element830, as shown inFIG.8F. In some embodiments, the electronic device500bdetects user input (e.g., a gaze of the user, a contact on a touch-sensitive surface, actuation of a physical input device of the vehicle, a predefined gesture (e.g., pinch gesture or air tap gesture) and/or a voice input from the user) corresponding to the selection of the companion user interface element826and in response displays the expanded user interface element830.

In some embodiments, the expanded user interface element830, shown inFIG.8F, includes a plurality of selectable options that, when selected, causes the electronic device500bto control playback of the presently playing content item. The plurality of selectable options optionally has one or more characteristics of user interface elements808athrough808eshown inFIG.8C. In some embodiments, while a communication session with the electronic device500acan be initiated (as described in method900), the electronic device500bdisplays a user interface element832, shown inFIG.8F, indicating that a communication session with the electronic device500acan be initiated (“Join session with Bonnie”) while displaying the expanded user interface element830. In some embodiments, in response to receiving an input selecting the user interface element832, the electronic device500bjoins or requests to join the communication session with the electronic device500a. In some embodiments, during the communication session, the electronic device500bupdates user interface element832to indicate that there is a communication session active with the electronic device (e.g., “Session with Bonnie active”).

In some embodiments, the electronic device500bcan join a communication session with the electronic device500aby scanning a scannable code shown inFIG.8G, which has one or more characteristics of the scannable code642described inFIG.6I. In some embodiments, the electronic device500cdisplays the scannable code in the settings user interface described inFIG.6I. In some embodiments, the electronic device500bscans the scannable code using a camera application.FIG.8Gillustrates a user interface834of a camera application. In some embodiments, the user interface834includes a visual representation836of the scannable code displayed in the physical environment (e.g., the scannable code displayed on the electronic device500c, shown inFIG.6I). In some embodiments, in response to scanning the scannable code (e.g., using a camera of the electronic device500b), the electronic device500bdisplays a user interface element838on the user interface834. In some embodiments, in response to receiving an input selecting the user interface element838, the electronic device500bjoins the communication session with the electronic device500aand described in further detail in method900. In some embodiments, further approval by the electronic device500ais not needed to join the communication session using the scannable code.

In some embodiments, the electronic device500bcan join the communication session with the electronic device500aby detecting a NFC tag of the electronic device500a, which is described in greater detail with reference toFIG.6D, method700and method900. In some embodiments, the electronic device500b“taps” the electronic device500afor a threshold amount of time at a threshold distance from the electronic device500a, as described in greater detail in method700and900, to initiate the communication session. In some embodiments, and as shown inFIG.8H, once a tap between the two devices has been detected, the electronic device500bdisplays a user interface element840overlaid on a user interface (e.g., user interface805). In some embodiments, the user interface element840has one or more characteristics of the user interface element624shown inFIG.6D. In some embodiments, the user interface element840includes a first selectable option842a, which has one or more characteristics of first selectable option626a, shown inFIG.6D, and a second selectable option842b, which has one or more characteristics of the second selectable option626bshown inFIG.6D. In some embodiments, in response to an input directed to the second selectable option842b, the electronic device500bjoins the communication session with the electronic device500a. In some embodiments, further approval by the electronic device500ais not needed to join the communication session using the NFC tag. In some embodiments, the electronic device500adisplays a user interface element, such as user interface element628shown inFIG.6E, in response to receiving a request to join the communication session from electronic device500b. In some embodiments, the electronic device500bis able to tap any electronic device already in the communication session with electronic device500ato request to join the communication session owned/hosted by electronic device500a. For example, the electronic device500bis able to tap the electronic devices corresponding to plurality of visual representations846athrough846d, shown inFIG.8I, to join the communication session with electronic device500a.

In some embodiments, in response to receiving the input selecting the second selectable option842binFIG.8H, the input selecting the user interface element838inFIG.8G, the input selecting the user interface element832inFIG.8F, the user interface element822inFIG.8D, and/or the user interface element804inFIG.8B, the electronic device500bjoins the communication session with the electronic device500a. In some embodiments, some of the methods of joining require certain criteria to be met, discussed in further detail in method900. For example, some of the methods for joining require further approval by the electronic device500a, such as if the electronic device500bis not a contact of the electronic device500aand/or if the electronic device500bhas not previously joined a communication session with the electronic device500a, as described in method900. In some embodiments,FIG.8Iillustrates the lock screen user interface800with a user interface element844indicating that the electronic device500bis in the communication session with the electronic device500a. In some embodiments, user interface element844includes a plurality of visual representations846athrough846drepresenting the electronic device and/or user accounts in the communication session with the electronic device500a. In some embodiments, the plurality of visual representations846athrough846bcorresponds to the contacts in the communication session as shown by visual indications644athrough644cinFIG.6I, along with a visual representation846brepresenting Bonnie, the user of the electronic device500a. For example, visual representation846arepresents John (user of the electronic device500b), visual representation846brepresents Bonnie (user of the electronic device500aand the electronic device500c), visual representation846crepresents Luka, and visual representation846drepresents Amy. For example, Luka and Amy are users of other electronic devices in the communication session with the electronic device500aand the electronic device500bthat can control playback of content by the electronic device500ain the communication session. In some embodiments, user interface element844includes a selectable option848, shown inFIG.8I, which is selectable to leave the communication session. As described in method700and900, content added to the content playback queue by the electronic device500bremain in the content playback queue even if the electronic device500bleaves the communication session. In some embodiments, in response to receiving an input directed towards selectable option848, shown inFIG.8I, the electronic device500bleaves the communication session and replaces the user interface element844with a user interface element indicating that the electronic device500bhas disconnected form the communication session, such as shown inFIGS.8M and8N.

FIG.8Jillustrates a playlist user interface850of the content application, which has one or more characteristics of the user interface651discussed above with reference toFIG.6L. While in a communication session, the electronic device500bdisplays a user interface element852, which has one or more characteristics of user interface element636described inFIG.6G. In some embodiments, the user interface element852indicates the number of devices (and/or users) in the communication session and/or waiting to join the communication session (e.g., 4 people as shown inFIG.8J). In some embodiments, in response to receiving an input directed to the user interface element852, the electronic device500bdisplays a settings user interface similar to the settings user interface640described inFIG.6I. However, since the electronic device500bis not the electronic device playing content in the communication session, the settings user interface displayed by the electronic device500blacks the ability to add and/or remove users and/or devices from the communication session. In some embodiments, the setting user interface displayed by the electronic device500bdoes not include the scannable code shown in settings user interface inFIG.6I.

In some embodiments, while in the communication session with the electronic device500a, the electronic device500bcan select content from the content application to be added to the content playback queue for playback by the electronic device500a, which is discussed in greater detail in method900. As shown inFIG.8H, playlist user interface850includes a plurality of user interface elements856athrough856drepresenting the respective content item. In some embodiments, the plurality of user interface elements856a-856dinclude an image representing content artwork (e.g., artwork associated with each content item). For example, the content artwork is optionally a song artwork or an album artwork. In some embodiments, the plurality of user interface elements856a-856dinclude text representing the content item. For example, as shown inFIG.8J, user interface element856aincludes the text “Song1” indicating the song title and artwork representing the album that the song is part of. As shown inFIG.8J, user interface element856bincludes the text “Song2” indicating the song title and artwork representing the album that the song is part of. As shown inFIG.8J, user interface element856cincludes the text “Song3” indicating the song title and artwork representing the album that the song is part of. As shown inFIG.8J, user interface element856dincludes the text “Song4” indicating the song title and artwork representing the album that the song is part of.

In some embodiments, the electronic device500bdetects a user input (e.g., finger of contact857directed to user interface element856cinFIG.8J) corresponding to a request to play song3while in the communication session. In response to receiving the user input directed to user interface element856cinFIG.8J, the electronic device500badds song3to the content playback queue, shown inFIG.8K, and described in further detail in method700and900. In some embodiments, in response to the input directed user interface element856c, the electronic device500bdoes not display the content playback queue. Alternatively, in some embodiments, in response to the input directed user interface element856c, the electronic device500bdoes not display the content playback queue. In some embodiments, if the electronic device500bwas not in the communication session with the electronic device500a, the selection of song3would not add song3to the content playback queue. In some embodiments, if the electronic device500bwas not in the communication session with the electronic device500a, in response to the input directed towards the selection of song3, the electronic device500bwould begin playing song3, as described in method900and described in the context of the electronic device500aand electronic device500cinFIGS.6J-6K.

While in the communication session, the electronic device500bdisplays the content playback queue shown in user interface858with indications862athrough862d, as shown inFIG.8K. In some embodiments, the content playback queue is stored on the electronic device500aand played from the electronic device500aand/or the electronic device500c, as described in methods700and900. In some embodiments, user interface858has one or more characteristics of user interface664, described inFIG.6M. In some embodiments, the content playback queue includes user interface elements860athrough860dwhich are indications of the content currently playing and upcoming. In some embodiments, user interface element860a, which indicates the content item that is currently playing, includes the text “Song2” indicating the song title and artwork representing the album that the song is part of. In some embodiments, user interface element860b, which indicates the first upcoming content item, includes the text “Song5” indicating the song title and artwork representing the album that the song is part of. In some embodiments, user interface element860c, which indicates the second upcoming content item, includes the text “Song4” indicating the song title and artwork representing the album that the song is part of. In some embodiments, user interface element860d, which indicates the third upcoming content item, includes the text “Song3” indicating the song title and artwork representing the album that the song is part of. In some embodiments, user interface858also includes indications862athrough862d, which indicate the user account that added the content item to the queue, which is described in further detail in method700and method900. In some embodiments, indications862athrough862dhave one or more characteristics of indications668athrough668cdescribed above with reference toFIG.6M. In some embodiments, indications862athrough862dinclude avatars of the respective electronic device and/or user account. For example, indication862a, shown inFIG.8K, represents the sender of “Song2”. Indication862b, shown inFIG.8K, represents the sender of “Song5”. Indication862c, shown inFIG.8K, represents the sender of “Song4”. Indication862b, shown inFIG.8K, represents the sender of “Song3”. As shown inFIG.8J, the user of the electronic device500b(“John”) selected “Song3” so indication862b, shown inFIG.8K, represents John (e.g., the electronic device500band/or the user account associated with John).

FIG.8Lillustrates a user interface that indicates the presently playing content item (“Song2”), which is playing on electronic device500aand/or electronic device500c, shown inFIG.6A, in user interface805while in the communication session with the electronic device500a. In some embodiments, while the electronic device500bis in the communication session, user interface805includes an indication (e.g., indication862ashown inFIG.8L) of the user account that requested playback of the content item (“Luka”). In some embodiments, the indication (e.g., indication862ashown inFIG.8L) includes an avatar and/or name representing the sender of the content item (e.g., of the electronic device and/or user account). In some embodiments, while in the communication session, the electronic device500bcan control the playback of the content item using the user interface elements on the user interface805, which are described in greater detail inFIG.8C.

In some embodiments, the electronic device500bdetects a user input (e.g., finger of contact864directed to user interface element808iinFIG.8L) corresponding to a request to display the content playback queue while in the communication session. In response to the user input directed to select user interface element808iinFIG.8J, the electronic device500bdisplays user interface858, a user interface of the content playback queue, shown inFIG.8K, and described in further detail in method700and900.

In some embodiments, the electronic device500bleaves the communication session in one or more ways, described in method900. In some embodiments, in response to the electronic device500bbeing more than the threshold distance away from the electronic device500a, described in greater detail in method700and method900, the electronic device500bdisconnects from the communication session. As shown inFIG.8M, in response to disconnecting from the communication session, the electronic device500bdisplays user interface element866a. For example, the electronic device500adisplays user interface element866aon the lock screen user interface800. In some embodiments, the electronic device500bdisplays user interface element866aoverlaid on a different user interface, such as a user interface the electronic device500bwas displaying when the electronic device500bdisconnected from the communication session. In some embodiments, user interface element866a, shown inFIG.8M, includes text indicating that the communication session has ended and a reason for the communication session ending (“You are disconnected because you are no longer nearby”). In some embodiments, user interface element866aalso includes text indicating from which communication session the electronic device500bis leaving from (“Bonnie”, e.g., the electronic device500aand/or the user account).

FIG.8Nillustrates a different embodiment of a user interface element (e.g., user interface element866b) that is displayed when the electronic device500bleaves the communication session with the electronic device500a. In some embodiments, the electronic device500bleaves the communication session when the electronic device500adisconnects from the electronic device500c, described in further detail in method900. In some embodiments, user interface element866b, shown inFIG.8Nincludes text indicating that the communication session has ended and a reason for the communication session ending (“You are disconnected because the session is no longer active”). In some embodiments, user interface element866balso includes text indicating from which communication session the electronic device500bis leaving from (“Bonnie”, e.g., the electronic device500aand/or the user account).

In some embodiments, the electronic device500bleaves the communication session by receiving an input on selectable option848, shown inFIG.8I. As a result, the user interface element (e.g., user interface element886aor user interface element886b) displayed on the lock screen user interface indicates that the reason for the communication session ending is because the electronic device500bended the session (e.g., “You are disconnected because you have left the session”).

FIG.9is a flow diagram illustrating a method in which an electronic device receives a request to join a communication session that includes controlling playback of content by another electronic device and joins the communication session according to some embodiments. The method900is optionally performed at first and/or electronic devices such as device100, device300, or device500as described above with reference toFIGS.1A-1B,2-3,4A-4B and5A-5C. Some operations in method900are, optionally combined and/or order of some operations is, optionally, changed.

As described below, the method900provides ways in which an electronic device receives a request to join a communication session, joins the communication session, and transmits content during the communication session. Transmitting an indication of a content item in a communication session with a first electronic device allows the second electronic device to control the playback of the first content item, which enables the user of the second electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently

In some embodiments, method900is performed at a first electronic device (e.g., electronic device500bdescribed inFIGS.6A-6NandFIGS.8A-8N) in communication with a display generation component and one or more input devices, wherein the first electronic device is associated with a first user account (e.g., the user account associated with electronic device500a(e.g., Bonnie) described inFIGS.6A-6NandFIGS.8A-8N). In some embodiments, the first electronic device has one or more characteristics of the second electronic device described in method700. In some embodiments, the first user account has one or more characteristics of the second user account described in further detail in method700. In some embodiments, the display generation component has one or more characteristics of the display generation component described in method700. In some embodiments, the first user account has one or more characteristics of the first and/or second user account described in method700. In some embodiments, the first user account is associated with a first user. In some embodiments, the first electronic device is associated with the first user account (e.g., that is established with a secure and/or trusted entity such as one or more servers configured to verify cryptographic information associated with the first user account) that has designated the first user as the owner of the first electronic device, thereby defining an association between the first user and the first user account

In some embodiments, the first electronic device receives (902a), via the one or more input devices, an indication that a communication session between the first electronic device and a second electronic device associated with a second user account (e.g., the electronic device500aand the user account associated with electronic device500adescribed inFIGS.6A-6NandFIGS.8A-8N), different from the first user account, can be initiated (e.g., such as shown with user interface element804inFIG.8B, selectable option812cinFIG.8C, user interface element822inFIG.8D, and user interface element832inFIG.8F), wherein the communication session includes controlling playback of content items by the second electronic device. In some embodiments, the second electronic device has one or more characteristics of the first electronic device as described in method700. In some embodiments, the second user account has one or more characteristics of the first user account described in further detail in method700. In some embodiments, the indication is transmitted from the second electronic device to the first electronic device after one or more criteria are satisfied. In some embodiments, the one or more criteria includes a criterion that is satisfied when the first electronic device is at a threshold distance from the second electronic device associated with the second user account. In some embodiments, the threshold distance is described in further detail in method700. In some embodiments, the communication session is described in further detail in method700. In some embodiments, in response to receiving the indication that the communication session can be initiated, the first electronic device displays a visual indication of the communication session. In some embodiments, the visual indication of the communication session is a notification on a lock screen user interface of the first electronic device, a notification on a content player user interface, or other user interfaces of the first electronic device, as described in more detail below. In some embodiments, the notification is a persistent notification. Alternatively, in some embodiments, the notification is not a persistent notification (e.g., a one-time notification). Alternatively, in some embodiments, the communication session is between the first user account and the second user account. In some embodiments, while the first electronic device and second electronic device are in the communication session, a third electronic device, associated with the first user account, controls playback of content items by the second electronic device. In some embodiments, the third electronic device is not in the communication session with the first electronic device and the second electronic device.

In some embodiments, after receiving the indication of the initiation of the communication session, the first electronic device receives (902b), via the one or more input devices, a first input corresponding to a request to initiate the communication session with the second electronic device, such as an input directed towards any user interface element804inFIG.8B, selectable option812cinFIG.8C, user interface element822inFIG.8D, and user interface element832inFIG.8F. In some embodiments, receiving the first input includes receiving an interaction with one or more user interface elements of the visual indication of the initiation of the communication session (e.g., buttons). For example, the electronic device detects a tap (e.g., with an index finger of a hand) at a location on a touch sensitive display. In other embodiments, the first input includes a user interaction of the above user interactions with a mouse or trackpad, such as clicking with a mouse or a trackpad.

In some embodiments, in response to receiving the first input, the first electronic device initiates (902c) the communication session with the second electronic device, such as shown by user interface element844inFIG.8I. In some embodiments, initiating the communication session allows the first electronic device to transmit data to the second electronic device, or vice versa. In some embodiments, data includes information about initiating the playback of a content item (e.g., music, podcast, video, or other content) using the second electronic device.

In some embodiments, during the communication session between the first electronic device and second electronic device (902d) (e.g., while the communication session is active), the first electronic device receives (902e), via the one or more input devices, a second input corresponding to a request to cause the second electronic device to play a first content item, such as with contact857on user interface element856cinFIG.8J. In some embodiments, the second input has one or more characteristics of the first input. In some embodiments, the request includes a request to add the first content item to a queue or a request to instantly playback the first content item.

In some embodiments, in response to receiving the second input, the first electronic device initiates (902f) a process to transmit an indication of the first content item (e.g., a song, podcast, and/or video) to the second electronic device. Once the second electronic device (e.g., electronic device500a) receives the indication of the first content item, the content item (e.g., “song3” selected by contact857inFIG.8J) is shown on the content playback queue in user interface858inFIG.8Krepresented by user interface element860d. In some embodiments, transmitting the indication of the first content item does not include transmitting a file of the first content item. In some embodiments, transmitting the indication of the first content item includes transmitting instructions to the second electronic device to retrieve the first content item from a content service server. In some embodiments, a content service server is a server in communication with the first and/or second electronic device wherein the first content item and/or other content items are stored. In some embodiments, in response to transmitting an indication of the first content item, the first electronic device and/or the second electronic device displays a visual indication of the first content item. In some embodiments, the visual indication of the first content item includes album art, a description of the title of the first content item, and/or a description of the author of the first content item. Transmitting an indication of the first content item in a communication session with a second electronic device allows the first electronic device to control the playback of the first content item, which enables the user of the first electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, transmitting the indication of the first content item to the second electronic device causes the second electronic device to add the first content item to a content playback queue on the second electronic device, as shown by the selection of song3inFIG.8Jby contact857and the addition of song3to the content playback queue shown user interface858as indication860dinFIG.8K. In some embodiments, the content playback queue has one or more characteristics of the content playback queue described in method700. In some embodiments, the first content item is added to the end of the content playback queue for playback after the other content items in the playback queue. In some embodiments, the first electronic device and/or the second electronic device determines the position of the first content item in the content playback queue. Adding the first content item to the content playback queue optionally includes adding the indication of the first content item to the content playback queue instead of a file of the first content item. For example, the first electronic device transmits the indication of the content item to the second electronic device. Alternatively, in some embodiments, transmitting the indication of the first content item to the second electronic device causes the second electronic device to begin playing the first content item. Placing the first content item in a content playback queue reduces the need for manual inputs to create the content playback queue which reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, the indication of the first content item includes an indication of the first electronic device or the first user account, such as shown by indication862dinFIG.8K, which represents the user of the first electronic device (e.g., electronic device500b). In some embodiments, while the second electronic device is playing the first content item, the second electronic device displays a visual indication of the first electronic device and/or the first user account in a content playback user interface that includes options for modifying playback of the content item and information about the content item. As another example, as described in more detail below, while displaying the content playback queue, the second electronic device displays the indication of the first electronic device or first user account in association with a visual indication of the first content item. In some embodiments, the visual indication includes a textual description and/or an avatar of the first electronic device and/or the first user account transmitted in the indication of the first content item. In some embodiments, the content (e.g., the first content item) transmitted to the second electronic device is associated with the first electronic device and/or the first user account. In some embodiments, the visual indication that is displayed with associated information about the first electronic device and/or the first user account is based on information about the first electronic device and/or the first user account stored on the second electronic device. For example, a name and/or avatar of the first electronic device and/or the first user account in the visual indication is the name and/or avatar stored on the second electronic device. Transmitting an indication of the first electronic device or the first user account with the indication of the first content item allows the first electronic device and the second electronic device to track the origin of the first content item which improves privacy and/or security of the first electronic device and the second electronic device.

In some embodiments, the first electronic device receives, via the one or more input devices, the indication that the communication session can be initiated while displaying a lock screen user interface. In some embodiments, the indication that the communication session can be initiated can be received while displaying a user interface other than the lock screen user interface (e.g., user interface of the content playback application, home screen user interface, or other user interfaces). In some embodiments, the lock screen user interface is a user interface that is displayed while the first electronic device is locked (e.g., user access to the first electronic device is being restricted), and requires user authentication (e.g., facial authentication, fingerprint authentication, other biometric authentication, password authentication, etc.) before moving away from the lock screen user interface. In some embodiments, the second electronic device also includes a lock screen user interface. In some embodiments, the lock screen user interface includes a plurality of user interface elements such as a user interface element selectable to open a camera application, a user interface element that displays the current time, and other user interface elements.

In some embodiments, in response to receiving the indication that the communication session can be initiated, the first electronic device displays, via the display generation component, a respective visual indication of the indication that the communication session can be initiated on the lock screen user interface, such as shown by user interface object804on user interface800inFIG.8B. In some embodiments, the respective visual indication includes a textual description describing the communication session and a sender of the communication session (e.g., second user account and/or second electronic device). In some embodiments, the visual indication is displayed when the second electronic device is within a threshold distance of the first electronic device, described in further detail in method700. In some embodiments, the visual indication includes a selectable option that is selectable to initiate the communication session with the second electronic device. Presenting a visual indication on the lock screen user interface of the indication that the communication session can be initiation simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed initiate the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, in accordance with a determination that the first user account associated with the first electronic device is a contact of the second user account associated with the second user device, displaying the respective visual indication includes continuing to display the respective visual indication on the lock screen user interface while the first electronic device is within the threshold distance of the second electronic device (e.g., 0.1 m, 1 m, 5 m, or 10 m), such as if user interface object804continues to be displayed while the first electronic device (e.g., electronic device500b) is within the threshold distance of the second electronic device (e.g., electronic device500a). In some embodiments, the first user account associated with first electronic device is a contact of the second user account and/or second electronic device when the second user account and/or second electronic device includes stored information about the first user account and/or the first electronic device. For example, the second user account and/or second electronic device stores a name, phone number, email address, physical address, or other information related to the first user account and/or first electronic device. In some embodiments, when the first electronic device is no longer within the threshold distance of the second electronic device, the respective visual indication is no longer displayed. In some embodiments, the respective visual indication is displayed on a notification user interface and/or a lock screen user interface and is continued to be displayed on the notification user interface until the first electronic device is no longer within the threshold distance away of the second electronic device. In some embodiments, the first electronic device navigates away from the lock screen user interface and the respective visual indication. In response to navigating back to the lock screen user interface, the respective visual indication is still displayed while the first electronic device is within the threshold distance of the second electronic device. Displaying the visual indication on the lock screen user interface while the first electronic device is within the threshold distance of the second electronic device provides feedback about the communication session, thereby reducing the number of inputs needed to retrieve information relating to initiating the communication session.

In some embodiments, in accordance with a determination that the first electronic device was previously in the communication session with the second electronic device (and the first electronic device or first user account is not a contact of the second electronic device or second user account), displaying the respective visual indication includes continuing to display the respective visual indication on the lock screen user interface while the first electronic device is within the threshold distance of the second electronic device, such as if user interface object804continues to be displayed while the first electronic device (e.g., electronic device500b) is within the threshold distance of the second electronic device (e.g., electronic device500a). In some embodiments, the first electronic device and/or the second electronic device stores information (e.g., who joined) about previous communication sessions. In some embodiments, if the first electronic device was previously allowed in a communication session with the second electronic device (whether the first electronic device is a contact of the second electronic device), the electronic device displays the respective visual indication on the lock screen user interface and continues to display the respective visual indication while the first electronic device is within the threshold distance of the second electronic device. In some embodiments, when the first electronic device is no longer within the threshold distance of the second electronic device, the first electronic device ceases display of the respective visual indication. In some embodiments, in accordance with a determination that the first electronic device was not previously in the communication session with the second electronic device and optionally is not a contact of the second electronic device or second user account, the first electronic device does not continuously display the respective visual indication while the first electronic device is within the threshold distance of the second electronic device. In some embodiments, the respective visual indication is displayed for a set amount of time (e.g., 1 second, 5 seconds, 10 seconds, 1 minute, 30 minutes, 1 hour, or 5 hours) in accordance with a determination that the first electronic device was not previously in the communication session with the second electronic device and optionally is not a contact of the second electronic device or second user account. Displaying the visual indication on the lock screen user interface while the first electronic device is within the threshold distance of the second electronic device and if the first electronic device was previously in a communication session with the second electronic device provides feedback about the communication session, thereby reducing the number of inputs needed to retrieve information relating to initiating the communication session.

In some embodiments, the first electronic device receives, via the one or more input devices, the indication that the communication session can be initiated while displaying a user interface of a content playback application, such as user interface814inFIG.8D. The user interface of the content playback application has one or more characteristics of the user interface of the content playback application described with reference to method700. In some embodiments, the first electronic device receives the indication that the communication session can be initiated while displaying a user interface of a content application used to play content items in accordance with the communication session.

In some embodiments, in response to receiving the indication that the communication session can be initiated, the first electronic device displays, via the display generation component, a respective visual indication of the indication that the communication session can be initiated on the user interface of a content playback application used to play content items in accordance with the communication session, such as shown by user interface object822on user interface814inFIG.8D. In some embodiments, the respective visual indication has one or more characteristics of the respective visual indication as described above. In some embodiments, the respective visual indication is displayed in the user interface of the content playback application. For example, the respective visual indication is displayed in a portion of the user interface that displays visual indications. In some embodiments, the first electronic device is playing a content item with the content playback application when the first electronic device receives the indication that the communication session can be initiated. In some embodiments, in response to receiving an input selecting the respective visual indication, the first electronic device connects to the communication session and transmits the indication of the content item to the second electronic device to be placed in the content playback queue. Displaying the visual indication on the user interface of the content playback application while the first electronic device is within the threshold distance of the second electronic device provides feedback about the communication session, thereby reducing the number of inputs needed to retrieve information relating to initiating the communication session.

In some embodiments, in response to receiving the indication that the communication session can be initiated, the first electronic device displays, via the display generation component, a respective visual indication of the indication that the communication session can be initiated that includes an indication of the second user account based on information about the second user account stored on the first electronic device, such as shown by the text “Bonnie” (which is the name of the second user account (e.g., user account associated with electronic device500a) stored on the first electronic device (e.g., electronic device500b) on user interface object822inFIG.8Dand user interface object804inFIG.8B. In some embodiments, the indication of the second user account includes a name, avatar, image, or other identifying information. In some embodiments, the information about the second user account differs between the information stored on the first electronic device and the information stored on the second electronic device, for example, if the first electronic device associates a first name with the second user account and the second electronic device associates a second name, different from the first name, with the second user account, the first electronic device displays the first name. For example, the first electronic device optionally stores the name “Mom” for the second user account where the owner of the second user account has a name of “Maria”. In some embodiments, the first electronic device displays the respective visual indication about the initiation of the communication session after receiving the indication that the communication session can be initiated and the request to initiate the communication session is received by the second electronic device, as described above. Displaying the visual indication that a communication session can be initiated while the first electronic device is within the threshold distance of the second electronic device with an indication of the second user account based on information about the second user account stored on the first electronic device improves privacy and/or security of the second electronic device and second user account.

In some embodiments, receiving the indication of the initiation of the communication session further includes receiving the indication by scanning a scannable code via one or more input devices, such as shown by scanning the representation836of the scannable code using the camera application inFIG.8G. In some embodiments, the second electronic device displays the scannable code as described above with reference to method700. For example, the first electronic device scans the scannable code using a camera. In some embodiments, the scannable code is a QR code, barcode, or other image-based code. In some embodiments, in response to scanning the scannable code, the first electronic device receives a visual indication of the initiation of the communication session. In some embodiments, the visual indication has one or more characteristics of the visual indication as described above. In some embodiments, the indication of the initiation includes receiving an indication of a link (e.g., a link to the content playback application or a link to the web application of the content playback application if the first electronic device does not have the content playback application downloaded). In some embodiments, the first input, as described above, is directed towards the link, which when selected, initiated the communication session with the second electronic device. Joining thing communication session with a scannable code reduces the need for manual inputs to join the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, in response to scanning the scannable code, the first electronic device initiates the communication session with the second electronic device without requiring receiving an indication of confirmation of the communication session from the second electronic device. For example, in response to the electronic device500breceiving an input on user interface element838inFIG.8G, the communication session is initiated without the electronic device500areceiving a request to verify the electronic device500bbefore initiating the communication session. In some embodiments, the indication of confirmation is an indication of authorization from the second electronic device for the first electronic device to join the communication session, as described above with reference to method700. Alternatively, in response to scanning the scannable code, the first electronic device transmits a request for authorization to the second electronic device. Allowing the first electronic device to join the communication session without requiring authorization of the initiation of the communication session simplifies the user interaction thereby reducing the likelihood of erroneous inputs to initiate the communication session.

In some embodiments, the first electronic device displays a user interface of a content application used to cause the second electronic device to play the first content item that includes a menu including a plurality of selectable options for selecting an output device to play content using the content application, such as audio output menu810inFIG.8C, wherein the first input corresponding to the request to initiate the communication session is directed towards a respective selectable option included in the menu, such as if a contact were directed towards selectable option812cinFIG.8C. In some embodiments, the user interface of the content playback application has one or more characteristics of the user interface of the content playback application as described in method700. In some embodiments, the number of selectable options in the menu changes depending on the number of available output devices. In some embodiments, the output devices includes wired or wireless headphones, an external speaker, a vehicle, or other output devices. For example, selecting a selectable option representing a vehicle of a user account initiates the communication session with the user account. Displaying the visual indication on a menu on a user interface of the content playback application while the first electronic device is within the threshold distance of the second electronic device provides feedback about the communication session, thereby reducing the number of inputs needed to initiate the communication session.

In some embodiments, in response to selecting a selectable option on a companion user interface, the first electronic device initiates the communication session with the second electronic device, such as if a contact were directed towards user interface element832inFIG.8F. In some embodiments, the companion user interface is a user interface of the content playback application (or any application that is running in the background of the first electronic device) that is displayed while in user interfaces of other applications (e.g., home screen user interface, maps user interface, web browsing user interface, or other user interfaces). For example, while content is playing in the content playback application, the companion user interface of the content playback application is displayed in other user interfaces. In some embodiments, content does not need to be playing in the content playback application for the companion user interface to be displayed in other user interfaces of other applications. In some embodiments, the companion user interface is selectable to display an expanded companion user interface of the content playback application. In some embodiments, the expanded companion user interface includes selectable options to control playback of content (e.g., pause, play, track, or seek). Additionally, In some embodiments, the expanded companion user interface includes a selectable option to initiate the communication session with the second electronic device while within a threshold distance from the second electronic device, as discussed above and with reference to method700. Displaying a selectable option on a companion user interface that is selectable to initiate the communication session simplifies the user interaction with the first electronic device, thereby reducing the number of inputs needed to initiate the communication session.

In some embodiments, initiating the communication session with the second electronic device in response to receiving the first input includes, in accordance with a determination that the first electronic device previously disconnected from the communication session within a threshold amount of time ago (e.g., 1 min, 10 min, 15 min, 30 min, 45 min, 1 hour, 2 hours, 4 hours, 12 hours, or 18 hours or 1 or 2 days), the first electronic device initiates the communication session without requiring confirmation from the second electronic device (e.g., without the second electronic device authorizing the communication session with the first electronic device, which is described in further detail in method700), such as if an input on selectable option848inFIG.8Iwere detected within a threshold amount of time.

In some embodiments, initiating the communication session with the second electronic device in response to receiving the first input includes, in accordance with a determination that the first electronic device did not disconnect from the communication session within the threshold amount of time ago (e.g., 1 min, 10 min, 15 min, 30 min, 45 min, 1 hour, 2 hours, 4 hours, 12 hours, or 18 hours or 1 or 2 days), such as if an input on selectable option848inFIG.8Iwere detected greater than the threshold amount of time, in accordance with a determination that the second electronic device confirms initiating the communication session, initiating the communication session without requiring confirmation from the second electronic device. In some embodiments, the first electronic device did not disconnect from the communication session within the threshold amount of time because the first electronic device disconnected more than the threshold time ago or was not previously in a communication session with the second electronic device. In some embodiments, if the first electronic device did not disconnect from the communication session within the threshold amount of time, the first electronic device is able to join the communication session with approval from the second electronic device. In some embodiments, the second electronic device approves the communication session with the first electronic device as described above with reference to method700. In some embodiments, in response to the first electronic device confirming initiating the communication session (e.g., with the first input as described above), the first electronic device is automatically connected to the communication session without requiring confirmation from the second electronic device if the first electronic device disconnected from the communication session within a threshold amount of time.

In some embodiments, initiating the communication session with the second electronic device in response to receiving the first input includes, in accordance with a determination that the second electronic device did not confirm initiating the communication session, forgoing initiating the communication session without requiring confirmation from the second electronic device, such as if an input were not detected on any of user interface element804inFIG.8B, selectable option812cinFIG.8C, user interface element822inFIG.8D, and user interface element832inFIG.8F. In some embodiments, if the first electronic device did not disconnect from the communication session within the threshold amount of time, the first electronic device is not able to join the communication session without approval from the second electronic device. Allowing the first electronic device to re-join a communication session with the second electronic device to control the playback of the content item enables users of the first and the second electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

Initiating the communication session with the second electronic device in response to receiving the first input includes in accordance with a determination that the first electronic device was previously in the communication session (or a previous communication session including control of content playback) with the second electronic device, initiating the communication session without requiring confirmation from the second electronic device, such as if electronic device500bhad already been in a communication session with electronic device500a. In some embodiments, initiating the communication session includes the first electronic device confirming the initiation of the communication session with the first input, as described above. In some embodiments, the first electronic device automatically connects to the communication session with the second electronic device (e.g., a new communication session) in response to the first input. In some embodiments, a third electronic device associated with the first user account can join the communication session with the second electronic device automatically if the first electronic device associated with the first user account was previously in a communication session with the second electronic device. In some embodiments, any electronic device that is associated with a user account that was previously in a communication session with the second electronic device can automatically join future communication sessions with the second electronic device.

In some embodiments, initiating the communication session with the second electronic device in response to receiving the first input includes, in accordance with a determination that the first electronic device was not previously in the communication session (or a previous communication session including control of content playback) with the second electronic device, and in accordance with a determination that the second electronic device confirms initiating the communication session (e.g., the second electronic device authorizes the first electronic device and/or the first user account to connect to the communication session), initiating the communication session with the second electronic device, such as the electronic device500aaccepting the request to initiate the communication session as shown inFIG.6E. Initiating the communication session is described in further detail above. In some embodiments, if the first electronic device was not previously in the communication session with the second electronic device, the first electronic device is able to join the communication session with authorization from the second electronic device as described above.

In some embodiments, initiating the communication session with the second electronic device in response to receiving the first input includes, in accordance with a determination that the second electronic device did not confirm initiating the communication session (e.g., the second electronic device does not authorize the first electronic device and/or the first user account to connect to the communication session), forgoing initiating the communication session with the second electronic device, such as if the electronic device500adid not the request to initiate the communication session by selecting selectable option630aas shown inFIG.6E. In some embodiments, forgoing initiating the communication session means that the first electronic device cannot control playback of content items by the second electronic device. In some embodiments, if the first electronic device was not previously in the communication session with the second electronic device, the first electronic device is not able to join the communication session without authorization from the second electronic device as described above. Allowing the first electronic device to join future communication sessions with the second electronic device to control the playback of the content item enables users of the first and the second electronic device to easily share and play content, thereby reducing the need for additional inputs to share and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, transmitting the indication of the first content item to the second electronic device causes the second electronic device to cease playing a second content item (e.g., podcasts) with a second content playback application and to play the first content item with a first content playback application (e.g., music) different from the second content application, such as described in method700. In some embodiments, while the second electronic device is playing the second content item, the first electronic device initiates the communication session and transmits the indication of the first content item. As a result, the second electronic device optionally stops playing the second content item and plays the first content item. In some embodiments, the second electronic device is not playing any content when the communication session is initiated. As a result of the transmission of the indication of the first content item, the second electronic device plays the first content item, for example. In some embodiments, if the second electronic device is not playing any content when the communication session is initiated, and the first electronic device does not transmit any indications of content items, the second electronic device begins playing content items from the application associated with the communications session (e.g., first content playback application). Playing the first content item in response to the initiation of the communication session while playing the second content item reduces the need for manual inputs to switch content items in response to the initiation of the communication session reduces the likelihood of erroneous inputs to the first electronic device and the second electronic device, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, during the communication session between the first electronic device and the second electronic device, the first electronic device detects, via the one or more input devices, that the second electronic device is more than a threshold distance away from the first electronic device, such as described in method700. The threshold distance has one or more characteristics of the threshold distance as described in method700. For example, the first electronic device optionally moves locations.

In some embodiments, in response to detecting that the second electronic device is more than the threshold distance away from the first electronic device, the first electronic device disconnects from the communication session, as shown by user interface element866ainFIG.8M. In some embodiments, the first electronic device disconnects from the communication session in response to the first electronic device and/or the second electronic device leaving the threshold distance. In some embodiments, a visual indication of the disconnection is displayed on the first electronic device and/or the second electronic device in response to the first electronic device disconnecting from the communication session. Alternatively or additionally, in some embodiments, the first electronic device can disconnect from the communication session after receiving an input corresponding to a request to disconnect from the communication session. Disconnecting from the communication session when the first electronic device is a threshold distance from the second electronic device simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed end the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, during the communication session between the first electronic device and the second electronic device, the first electronic device receives, via the one or more input devices, a third input corresponding to a request to display a content playback queue for playback by the second electronic device in accordance with the communication session, such as shown by contact864selecting user interface element808iinFIG.8L. In some embodiments, the third input has one or more characteristics of the first input and/or the second input as described above. In some embodiments, the third input is directed towards a selectable option on a user interface of the content playback application. In some embodiments, the content playback queue for playback by the second electronic device in accordance with the communication session has one or more characteristics of the content playback queue as described above and with reference to method700.

In some embodiments, during the communication session between the first electronic device and the second electronic device, in response to receiving the third input, the first electronic device displays, via the display generation component, the content playback queue. In response to the selection of user interface element808iinFIG.8L, the content playback queue shown in user interface858is displayed as shown inFIG.8K. In some embodiments, displaying the content playback queue includes displaying visual indication of content items in the content playback queue for playback by the second electronic device in accordance with the communication session. In some embodiments, the content playback queue includes a first visual indication of a first content item and a second visual indication of a second content item. In some embodiments, the first visual indication and the second visual indication both include a textual description and/or visual description (e.g., an avatar) of the user account and/or electronic device that transmitted the first content item and the second content item, respectively, to the second electronic device. In some embodiments, the first visual indication of the first content item includes a textual description and/or visual description of the first content item. In some embodiments, the second visual indication of the second content item includes a textual description and/or visual description of the second content item. For example, an album cover, podcast cover, name of the song, name of the podcast, or other description of the content item. In some embodiments, the second electronic device plays content in an order that is listed in the content playback queue. Allowing the first electronic device to access the content playback queue enables users of the first and the second electronic device to easily view, share, and play content, thereby reducing the need for additional inputs to view, share, and play content which enables the users of both electronic devices to use the electronic devices more efficiently.

In some embodiments, during the communication session between the first electronic device and the second electronic device, the first electronic device displays, on a user interface of a content playback application (e.g., music, audiobooks, podcasts, videos, or other content) associated with a playback of the first content item by the second electronic device in accordance with the communication session, a visual indication of a number of electronic devices in the communication session, as shown by user interface object852inFIG.8J. In some embodiments, the first electronic device has less functionality than the second electronic device (e.g., the host of the communication session) for changing settings of the communication session, described in further detail in method700. In some embodiments, the visual indication includes text indicating the number of devices and/or a visual representation indicating the number of devices (e.g., four avatars representing four devices in the communication session). In some embodiments, the visual indication is a selectable option selectable to indicate the number of user accounts and/or devices waiting to join the communication session and/or the number of user accounts and/or devices in the communication session, as described with reference to method700. Displaying a visual indication of the number of devices participating in the communication session without user input reduces the need for manual inputs reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, the first electronic device displays, via the display generation component, a user interface of a content application used to cause the second electronic device to play content items in accordance with the communication session, such as user interface850shown inFIG.8Jor user interface805shown inFIG.8L. The content application has one or more characteristics of the content playback application as described above and with reference to method700.

In some embodiments, while displaying the user interface of the content application (e.g., on the first electronic device), the first electronic device receives, via the one or more input devices, a third input for playing a respective content item included in the user interface of the content application, such as contact857directed towards user interface element856crepresenting “song3” inFIG.8J. In some embodiments, the third input has one or more characteristics of the third input as described above. In some embodiments, the third input is directed at a representation of the respective content item. In some embodiments, the third input is directed at a representation of an action to play the respective content item (e.g., a play button).

In some embodiments, in response to receiving the third input, in accordance with a determination that the third input was received during the communication session, the first electronic device adds the content item to a content playback queue, as shown by user interface element860drepresenting “song3” in the content playback queue in user interface858inFIG.8K. In some embodiments, the content playback queue has one or more characteristics of the content playback queue as described above and with reference to method700. In some embodiments, the content playback queue is on the second electronic device. In some embodiments, the content playback queue can be viewed on the first electronic device and/or the second electronic device. In some embodiments, adding the content item to the content playback queue is described in further detail in method700. In some embodiments, playing the content item added to the content playback queue includes waiting for the content items ahead of the content item to be played before playing the content item. In some embodiments, adding the content item to the content playback queue does not interrupt the playback of the presently playing content item.

In some embodiments, in response to receiving the third input in accordance with a determination that the third input was not received during the communication session, the first electronic device plays the content item, such as if the selection of user interface element856cinFIG.8Jresulted in the playing of “song3”. Playing the content item in accordance with the determination that the input selecting the representation of the content item was not received during the communication session is described in greater detail in method700. In some embodiments, playing the content item includes stopping the playback of the presently playing content item to play the content item. In some embodiments, playing the content item includes playing the content item before content items in a content playback queue are played. Placing the content item in a content playback queue reduces the need for manual inputs to create the content playback queue which reduces the likelihood of erroneous inputs to the user interface, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, during the communication session, the first electronic device receives, via the one or more input devices, an indication that the second electronic device disconnected from an output device being used to play content items in accordance with the communication session. The output device has one or more characteristics of the one or more output devices described in method700. In some embodiments, a visual indication of the indication that the second electronic device disconnect from the output device is displayed on the first electronic device. In some embodiments, the visual indication includes a textual and/or visual description of the disconnection.

In some embodiments, in response to receiving the input that the second electronic device disconnected from the output device, the first electronic device disconnects from the communication session, such as shown by user interface element866binFIG.8N. In some embodiments, the first electronic device leaves the communication session when the second electronic device is disconnected from the output device (e.g., a speaker, a vehicle, or other output devices) being used to play the content item. In some embodiments, in response to the second electronic device disconnecting from the output device, the communication session is concluded. Ending the communication session by disconnecting all devices in the communication session in response to the first electronic device disconnecting from the one or more output devices simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed end the communication session, which reduces power usage and improves battery life of the first electronic device.

In some embodiments, receiving the indication of the communication session further comprises receiving the indication of the communication session by scanning a near-field communication tag on the second electronic device, as shown by the electronic device500btapping the electronic device500ainFIG.8H. As a result of the tap, user interface element840is displayed on electronic device500b. In some embodiments, the near-field communication (NFC) tag has one or more characteristics of the NFC tag as described in method700. Allowing the first electronic device to join the communication session using an NFC tag simplifies the interaction between the user and the first electronic device by reducing the number of inputs needed to allow the first electronic device to join the communication session, which reduces power usage and improves battery life of the first electronic device.

It should be understood that the particular order in which the operations inFIG.9have been described is merely exemplary and is not intended to indicate that the described order is the only order in which the operations could be performed. One of ordinary skill in the art would recognize various ways to reorder the operations described herein. Additionally, it should be noted that details of other processes described herein with respect to other methods described herein (e.g., method700) are also applicable in an analogous manner to method900described above with respect toFIG.9. For example, the operation of the electronic device to transmit content while in a communication session described above with reference to method900optionally has one or more of the characteristics of initiation of the communication session described herein with reference to other methods described herein (e.g., method700). Additionally, the communication session described with reference to method900has one or more characteristics of the communication session described with reference to method700. For brevity, these details are not repeated here.

The operations in the information processing methods described above are, optionally, implemented by running one or more functional modules in an information processing apparatus such as general-purpose processors (e.g., a as described with respect toFIGS.1A-1B,3,5A-5J) or application specific chips. Further, the operations described above with reference toFIGS.9A-9Fare, optionally, implemented by components depicted inFIGS.1A-1B. For example, receiving operation902a,902b, and902eand/or initiating operation902cand902fare, optionally, implemented by event sorter170, event recognizer180, and event handler190. When a respective predefined event or sub-event is detected, event recognizer180activates an event handler190associated with the detection of the event or sub-event. Event handler190optionally utilizes or calls data updater176or object updater177to update the application internal state192. In some embodiments, event handler190accesses a respective GUI updater178to update what is displayed by the application. Similarly, it would be clear to a person having ordinary skill in the art how other processes can be implemented based on the components depicted inFIGS.1A-1B.

As described above, one aspect of the present technology is transmitting and displaying information about user accounts. The present disclosure contemplates that in some instances, the data utilized may include personal information data that uniquely identifies or can be used to contact or locate a specific person. Such personal information data can include demographic data, content consumption activity, location-based data, telephone numbers, email addresses, twitter ID's, home addresses, data or records relating to a user's health or level of fitness (e.g., vital signs measurements, medication information, exercise information), date of birth, or any other identifying or personal information.

The present disclosure recognizes that the use of such personal information data, in the present technology, can be used to the benefit of users. For example, capturing and transmitting content can enable the user to view the content at a later time. Accordingly, use of such personal information data enables users to use electronic devices to view content. Further, other uses for personal information data that benefit the user are also contemplated by the present disclosure. For instance, location data may be used to enhance communications between devices.