media_play_pause
Sends a command to play or pause the current media on a HarmonyOS phone. Controls music or video playback with a single action.
Instructions
Play or pause media on the phone.
Sends the media play/pause keycode to control any currently active media. Can be used to play music or videos that were recently playing.
Returns: str: Success message if the command was sent, or an error message if the command failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |