Media Control
media_controlControl playback in any app without touching the screen. Perform actions like play, pause, next, or rewind on the active media session, verifying the package name.
Instructions
Control playback in any app without touching the screen: play, pause, play_pause, next, previous, stop, rewind, fast_forward. Goes to the active media session; package_name (from get_media_sessions) is checked against it and reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| device | No | ||
| command | No | ||
| package_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||