Skip to main content

CameraDevice Members

Describes a video capture device, operates the device, and processes the received video stream.

Constructors

Name Description
CameraDevice(CameraDeviceInfo) Initializes a new instance of the CameraDevice class with the specified settings.

Properties

Name Description
CurrentFrame Gets the frame currently captured by the device.
DeviceMoniker Gets the string representation of the moniker for the current device. Inherited from CameraDeviceBase.
IsBusy Gets whether the video capture device is already in use in another application. Inherited from CameraDeviceBase.
IsRunning Gets whether the device is currently capturing video. Inherited from CameraDeviceBase.
Name Gets the UI display name of the video capture device. Inherited from CameraDeviceBase.
Resolution Gets or sets the resolution of a video stream captured by the current device. Inherited from CameraDeviceBase.

Methods

Name Description
Dispose() Disposes of the current object and releases all the allocated resources. Inherited from CameraDeviceBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from CameraDeviceBase.
GetAvailableResolutions() Returns the list of video resolutions available on the current device. Inherited from CameraDeviceBase.
GetAvailiableResolutions() Returns the list of video resolutions available on the current device. Inherited from CameraDeviceBase.
GetHashCode() Returns the hash code for the current CameraDeviceBase object. Inherited from CameraDeviceBase.
GetMaxResolution()
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SetClient(ICameraDeviceClient) Sets the ICameraDeviceClient object that processes the video from the current capture device. Inherited from CameraDeviceBase.
SetDirectXProvider(DirectXProvider) For internal use.
Start() Starts capturing video from the current device. Inherited from CameraDeviceBase.
Stop() Stops capturing video from the current device. Inherited from CameraDeviceBase.
TakeSnapshot() Returns the video frame currently captured by the device. Inherited from CameraDeviceBase.
ToString() Returns a string that represents the current object. Inherited from Object.
WndProc(ref Message) Processes Windows messages. Inherited from CameraDeviceBase.
See Also