Lines Matching defs:category
460 * {@link MediaControlIntent#CATEGORY_LIVE_AUDIO live audio media control intent category}
968 * {@link MediaControlIntent media control} category.
974 * @param category A {@link MediaControlIntent media control} category
978 * media control category.
979 * @return True if the route supports the specified intent category.
984 public boolean supportsControlCategory(@NonNull String category) {
985 if (category == null) {
986 throw new IllegalArgumentException("category must not be null");
992 if (mControlFilters.get(i).hasCategory(category)) {
1001 * {@link MediaControlIntent media control} category and action.
1007 * @param category A {@link MediaControlIntent media control} category
1011 * media control category.
1019 public boolean supportsControlAction(@NonNull String category, @NonNull String action) {
1020 if (category == null) {
1021 throw new IllegalArgumentException("category must not be null");
1031 if (filter.hasCategory(category) && filter.hasAction(action)) {