setActionHandler method

void setActionHandler(
  1. MediaSessionAction action,
  2. MediaSessionActionHandler? handler
)

Implementation

void setActionHandler(
        MediaSessionAction action, MediaSessionActionHandler? handler) =>
    js_util.callMethod(this, 'setActionHandler',
        [action.value, handler == null ? null : allowInterop(handler)]);