CarMediaIntents
  public
  
  final
  
  class
  CarMediaIntents
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.car.media.CarMediaIntents | 
Defines media related intents (and their extras) for the car.
Summary
| Constants | |
|---|---|
| String | ACTION_MEDIA_TEMPLATEActivity Action: Provide media playing through a media template app. | 
| String | EXTRA_MEDIA_COMPONENTUsed as a string extra field with  | 
| String | EXTRA_SEARCH_QUERYUsed as a string extra field with  | 
| Inherited methods | |
|---|---|
Constants
ACTION_MEDIA_TEMPLATE
public static final String ACTION_MEDIA_TEMPLATE
Activity Action: Provide media playing through a media template app.
Input: these optional extras
EXTRA_MEDIA_COMPONENT EXTRA_SEARCH_QUERY Output: nothing.
If no extra is specified, the current media source is opened.Constant Value: "android.car.intent.action.MEDIA_TEMPLATE"
EXTRA_MEDIA_COMPONENT
public static final String EXTRA_MEDIA_COMPONENT
Used as a string extra field with ACTION_MEDIA_TEMPLATE to specify the
 MediaBrowserService that user wants to start the media on.
Constant Value: "android.car.intent.extra.MEDIA_COMPONENT"
EXTRA_SEARCH_QUERY
public static final String EXTRA_SEARCH_QUERY
Used as a string extra field with ACTION_MEDIA_TEMPLATE to specify the search query
 to send either to the current MediaBrowserService or the one specified
 with EXTRA_MEDIA_COMPONENT.
Constant Value: "android.car.media.extra.SEARCH_QUERY"
