setActionHandler 方法

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

实现

void setActionHandler(String action, MediaSessionActionHandler? handler)
    native;