Instance Method

supportsAVCaptureSessionPreset:

Returns a Boolean value that indicates whether the receiver can be used in a capture session configured with the given preset.

Declaration

- (BOOL)supportsAVCaptureSessionPreset:(AVCaptureSessionPreset)preset;

Parameters

preset

A capture session preset.

Return Value

YES if the receiver can be used with preset, otherwise NO.

Discussion

An AVCaptureSession instance can be associated with a preset that configures its inputs and outputs to fulfill common use cases. You can use this method to determine if the receiver can be used in a capture session with the given preset. For a list of preset constants, see AVCaptureSession.

See Also

Inspecting Device Characteristics

connected

Indicates whether the device is currently connected.

position

Indicates the physical position of the device hardware on the system.

hasMediaType:

Returns a Boolean value that indicates whether the device provides media with a given type.

modelID

The model ID of the device.

localizedName

A localized human-readable name for the receiver.

uniqueID

An ID unique to the model of device corresponding to the receiver.

lensAperture

The size of the lens diaphragm.

deviceType

The general type of the device, such as a built-in microphone or wide-angle camera.

manufacturer

A human-readable string describing the manufacturer of the device.