Lines Matching refs:selector
37 * to select by specifying a {@link MediaRouteSelector selector} with the
70 * Then configure the menu and set the route selector for the chooser.
100 * // Remove the selector on stop to tell the media router that it no longer
151 * Gets the media route selector for filtering the routes that the user can
154 * @return The selector, never null.
162 * Sets the media route selector for filtering the routes that the user can
165 * @param selector The selector, must not be null.
167 public void setRouteSelector(@NonNull MediaRouteSelector selector) {
168 if (selector == null) {
169 throw new IllegalArgumentException("selector must not be null");
172 if (!mSelector.equals(selector)) {
183 if (!selector.isEmpty()) {
184 mRouter.addCallback(selector, mCallback);
186 mSelector = selector;
190 mButton.setRouteSelector(selector);