Lines Matching refs:bundle
57 private MediaRouteSelector(Bundle bundle, List<String> controlCategories) {
58 mBundle = bundle;
191 * Converts this object to a bundle for serialization.
193 * @return The contents of the object represented as a bundle.
200 * Creates an instance from a bundle.
202 * @param bundle The bundle, or null if none.
203 * @return The new instance, or null if the bundle was null.
205 public static MediaRouteSelector fromBundle(@Nullable Bundle bundle) {
206 return bundle != null ? new MediaRouteSelector(bundle, null) : null;
303 Bundle bundle = new Bundle();
304 bundle.putStringArrayList(KEY_CONTROL_CATEGORIES, mControlCategories);
305 return new MediaRouteSelector(bundle, mControlCategories);