Camera.checkCommand Method

Module: Camera

Definition

(C++/dotnet): Checks if a specific command is available on the device.

public bool CheckCommand(string cmd)

Parameters

cmd string
in The command to check.

Returns

bool
Outputs true if the command exists, false otherwise.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesCamera_CheckCommand (
    ID3_DEVICES_CAMERA hCamera,
    const char * cmd,
    bool * result)

Parameters

in Handle to the Camera object.

cmd const char *
in The command to check.

result bool *
out Outputs true if the command exists, false otherwise.

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.