setActionHandler static method
Sets an action handler for a media session action, such as play or pause.
Implementation
static void setActionHandler(
String action,
MediaSessionActionHandler callback,
) =>
_setActionHandler(action, js.allowInterop(callback));