TdxCustomCameraControl.State Property
In This Article
Indicates the camera control’s current state.
#Declaration
Delphi
property State: TdxCameraControlState read;
#Property Value
Type |
---|
Tdx |
#Remarks
Options include:
Value | Description |
---|---|
ccs |
The camera control is inactive. All other states relate to the active camera control. |
ccs |
The camera control is being initialized to capture and render the camera output. |
ccs |
The camera control is rendering the camera output on its surface. |
ccs |
Rendering of the camera output is paused. |
ccs |
The camera control cannot find the selected camera or it is currently switched off. |
ccs |
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