Instance Method

canAddInput:

Returns a Boolean value that indicates whether a given input can be added to the session.

Declaration

- (BOOL)canAddInput:(AVCaptureInput *)input;

Parameters

input

An input that you want to add to the session.

Return Value

YES if input can be added to the session, otherwise NO.

See Also

Managing Inputs and Outputs

inputs

The capture session’s inputs.

- addInput:

Adds a given input to the session.

- removeInput:

Removes a given input.

outputs

The capture session’s outputs.

- canAddOutput:

Returns a Boolean value that indicates whether a given output can be added to the session.

- addOutput:

Adds a given output to the session.

- removeOutput:

Removes a given output.