- types
- type flags indicating which types this route should be used for. The route must support at least a subset.
- route
- Route to select
Select the specified route to use for output of the given media types.
As API version 18, this function may be used to select any route. In prior versions, this function could only be used to select user routes and would ignore any attempt to select a system route.