addInput method

Future<void> addInput(
  1. covariant CaptureInput input
)

Adds a given input to the session.

You can only add an input to a session using this method if canAddInput returns true. This method throws an exception when invoked and canAddInput returns false.

You can invoke this method while the session is running.

Implementation

Future<void> addInput(covariant CaptureInput input) {
  return _channel.$addInput(this, input);
}