TdxCustomCameraControl.State Property
Indicates the camera control’s current state.
Declaration
property State: TdxCameraControlState read;
Property Value
Type |
---|
TdxCameraControlState |
Remarks
Options include:
Value | Description |
---|---|
ccsInactive |
The camera control is inactive. All other states relate to the active camera control. |
ccsInitializing |
The camera control is being initialized to capture and render the camera output. |
ccsRunning |
The camera control is rendering the camera output on its surface. |
ccsPaused |
Rendering of the camera output is paused. |
ccsNoDevice |
The camera control cannot find the selected camera or it is currently switched off. |
ccsDeviceIsBusy |
The camera control cannot acquire a lock of the camera to capture and render its output. |
Handle the OnStateChanged event to respond to state changes. Refer to the Active property description to learn the order in which the changes occur.
See Also