setActionHandler method

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

Implementation

void setActionHandler(String action, MediaSessionActionHandler handler)
    native;