Difference between revisions of "Action: Control Media"

Line 1: Line 1:
This action can be used to play/pause and skip to the previous or next track in the media player.
+
This action can be used to play/pause and skip to the previous or next track in the media player.<br/>
 
+
'''Note'''<br/>
Controlling media is not handled the same way on all Android devices, therefore three alternative mechanisms are provided. The first mode simulates media button presses, the second mode should control the default media player and the third mode will simulate an audio button press (e.g. a button on a headset)
+
Controlling media is not handled the same way on all Android devices, therefore three alternative mechanisms are provided. The first mode simulates media button presses, the second mode should control the default media player and the third mode will simulate an audio button press (e.g. a button on a headset)<br/>
 
+
<br/>'''Types of multimedia controls'''<br/>
'''Example Usage'''<br/>
+
<br/>'''Simulate Media Button'''<br/>
Power button toggle 3 times -> Skip to next track<br/><br/>
+
*'''Play/Pause'''<br/>
(Enables you to skip tracks while the phone is in your pocket.)
+
*'''Previous'''<br/>
 +
*'''Next'''<br/>
 +
*'''Play'''<br/>
 +
*'''Pause'''<br/>
 +
*'''Stop'''<br/>
 +
<br/>'''Default Player'''<br/>
 +
*'''Play'''<br/>
 +
*'''Pause'''<br/>
 +
*'''Previous'''<br/>
 +
*'''Next'''<br/>
 +
*'''Stop'''<br/>
 +
<br/>'''Simulate audio button'''<br/>
 +
*'''Play/Pause'''<br/>
 +
*'''Previous'''<br/>
 +
*'''Next'''<br/>
 +
*'''Play'''<br/>
 +
*'''Pause'''<br/>
 +
*'''Stop'''<br/>

Revision as of 01:17, 19 July 2021

This action can be used to play/pause and skip to the previous or next track in the media player.
Note
Controlling media is not handled the same way on all Android devices, therefore three alternative mechanisms are provided. The first mode simulates media button presses, the second mode should control the default media player and the third mode will simulate an audio button press (e.g. a button on a headset)

Types of multimedia controls

Simulate Media Button

  • Play/Pause
  • Previous
  • Next
  • Play
  • Pause
  • Stop


Default Player

  • Play
  • Pause
  • Previous
  • Next
  • Stop


Simulate audio button

  • Play/Pause
  • Previous
  • Next
  • Play
  • Pause
  • Stop