Skip to content

Latest commit

 

History

History

media_session

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Media Session

Media Session manages the media session and audio focus for playback across the entire system.

Clients can use the Audio Focus API to request audio focus and observe changes through AudioFocusObserver. The Media Session API can be used to control playback and observe changes through MediaSessionObserver.

For more details about controlling playback see controlling Media Playback.

TODO(beccahughes): Write docs about requesting audio focus.