Camera.AvailableCameras Method

Definition

Namespace: P1Sdk

Returns a list of all available camera currently available.

public static IEnumerable<CameraDescriptor> AvailableCameras();

Cameras some and go. The availble cameras might disappear right after this method has returned. Therefore, opening a camera found using this method might still fail.

Parameters:

InvalidOperationException

the underlying SDK has failed to open

SdkException

an error-code inside if something else goes wrong

Returns:

A list of cameras attached to your host system

See also:

CameraDescriptor