ExtendedCamera Class¶
Namespace: id3.Devices
Definition¶
class ExtendedCamera
class ExtendedCamera implements Finalizable
public partial class ExtendedCamera
public class ExtendedCamera implements AutoCloseable, Serializable
typedef struct id3DevicesExtendedCamera *ID3_DEVICES_EXTENDED_CAMERA;
Usage¶
extendedCameraInstance = ExtendedCamera()
# ...
Explicit destruction
# ...
del extendedCameraInstance
final extendedCameraInstance = sdk.ExtendedCamera();
// ...
Explicit destruction
// ...
extendedCameraInstance.dispose()
using (var extendedCameraInstance = new ExtendedCamera())
{
// ...
}
Explicit destruction
var extendedCameraInstance = new ExtendedCamera()
// ...
extendedCameraInstance.Dispose()
try (ExtendedCamera extendedCameraInstance = new ExtendedCamera()) {
// ...
}
Explicit destruction
ExtendedCamera extendedCameraInstance = new ExtendedCamera();
// ...
extendedCameraInstance.close();
ID3_DEVICES_EXTENDED_CAMERA hExtendedCamera{};
int err = id3DevicesExtendedCamera_Initialize(&hExtendedCamera);
if (err == ID3_SUCCESS) {
// ...
id3DevicesExtendedCamera_Dispose(&hExtendedCamera);
}
Properties¶
Name |
Type |
Description |
---|---|---|
Callback invoked when new camera capture data becomes available. |
||
Callback invoked when a device is added to the channel. |
||
Callback function for when a device is closed on this channel. |
||
(C++): Callback for generic device events. |
||
A list filtering the types of devices this channel will interact with. |
||
int |
Identifier for the device associated with this channel, intended for internal or plugin use. |
|
Fetches the device object. |
||
Callback that is called when a device is opened on this channel. |
||
Callback function triggered upon the removal of a device from the channel. |
||
Reflects the current state of the device, such as connected, disconnected, etc. |
||
Callback for when there’s any change in the device’s operational status. |
||
bool |
Indicates if the device is currently capturing data, providing a quick status check. |
|
Lists categories of parameters relevant to the device. |
||
Callback triggered when a snapshot capture is completed. |
||
int |
Sets or gets the current video format. |
|
Lists all video formats supported by the camera, aiding in format selection and compatibility checks. |
Methods¶
Name |
Description |
---|---|
Adds a filter to specify the types of devices this channel should handle. |
|
Applies a set of parameters to the device. |
|
(C++/dotnet): Checks if a specific command is available on the device. |
|
Confirms if a parameter exists on the device. |
|
Clears all set device filters, removing any type restrictions. |
|
Controls closing the associated device. |
|
(C++/dotnet): Toggles the activation state of a specified stream. |
|
Fetches the most recent frame from the live feed. |
|
Fetches the most recent set of frames captured across enabled streams. |
|
Fetches the most recent snapshot taken by the takeSnapshot function. |
|
Retrieves a list of measurement data collected during capture sessions. |
|
Retrieves a device parameter’s value. |
|
Fetches the descriptor of a device parameter. |
|
Obtains all supported parameters, optionally filtered by category. |
|
Retrieves names of all supported parameters, optionally filtered by category. |
|
Gets the integer value of a device parameter. |
|
Gets a specific live frame. |
|
Queries the current status (enabled/disabled) of a specific stream. |
|
Retrieves a list of all streams supported by the device. |
|
Checks if the specified device was previously disconnected. |
|
Controls opening the associated device. |
|
(C++/dotnet): Issues a command to the device. |
|
(C++/dotnet): Issues a command with a boolean as result to the device. |
|
(C++/dotnet): Dispatches a command to the device model. |
|
Sets a device parameter’s value. |
|
Assigns an integer value to a device parameter. |
|
Initiates data capture, allowing for an optional parameter to specify capture modes or configurations. |
|
Ends the data capture process, stopping the live feed or any ongoing capture activity. |
|
Triggers a snapshot capture process, with the result accessible through getLastSnapshot. |
|
Waits for new capture data within a specified timeout period. |