code: public void setVehicleInterface(
              Class<? extends VehicleInterface> vehicleInterfaceType,
              String resource) throws VehicleServiceException {
          Log.i(TAG, "Setting VI to: " + vehicleInterfaceType);
  
          String interfaceName = null;
          if(vehicleInterfaceType != null) {
              interfaceName = vehicleInterfaceType.getName();
          }
  
          if(mRemoteService != null) {
              try {
                  mRemoteService.setVehicleInterface(interfaceName, resource);
              } catch(RemoteException e) {
                  throw new VehicleServiceException(
                          "Unable to set vehicle interface", e);
              }
          } else {
              Log.w(TAG, "Can't set vehicle interface, not connected to the " +
                      "VehicleService");
          }
      }
docs: Change the active vehicle interface to a new type using the given
  resource.
  
  To disable all vehicle interfaces, pass null to this function.
  
  The only valid VehicleInterface types are those included with the library
  - the vehicle service running in a remote process is the one to actually
  instantiate the interfaces. Interfaces added with this method will be
  available for all other OpenXC applications running in the system.
  
  @param vehicleInterfaceType A class implementing VehicleInterface that is
  included in the OpenXC library
  @param resource A descriptor or a resource necessary to initialize the
  interface. See the specific implementation of {@link VehicleService}
  to find the required format of this parameter.