CaptureStatus#

class omni.kit.capture.viewport.CaptureStatus(
value,
names=<not given>,
*values,
module=None,
qualname=None,
type=None,
start=1,
boundary=None,
)#

Bases: IntEnum

An enumeration that defines the possible statuses of a capture process in an Omni UI application.

This enumeration provides a clear indication of the current state of a capture operation. The integer values correspond to the following states:

NONE (0): No capture operation is active or has been started. CAPTURING (1): The capture process is currently running. PAUSED (2): The capture process is temporarily suspended. FINISHING (3): The capture is in the process of finalizing its operations. TO_START_ENCODING (4): The system is ready to begin encoding the captured data. ENCODING (5): The captured data is undergoing encoding. CANCELLED (6): The capture process has been cancelled. DONE (7): The capture process has completed successfully.

Methods

Attributes

NONE

CAPTURING

PAUSED

FINISHING

TO_START_ENCODING

ENCODING

CANCELLED

DONE

__init__(*args, **kwds)#