Enums¶
Details¶
- class Aperture.Barcode(value)¶
Bases:
GObject.GEnum
Represents the type of a barcode detected in a video stream.
Different barcode types are used for different purposes and different types of data, so it is important to check a barcode’s type before attempting to use its data.
New in version 0.1.
- UNKNOWN = 0¶
A barcode was detected, but Aperture does not recognize its type.
- COMPOSITE = 1¶
The code is a composite of multiple barcode types.
- I25 = 10¶
<https://en.wikipedia.org/wiki/Interleaved_2_of_5>
- DATABAR = 11¶
<https://en.wikipedia.org/wiki/GS1_DataBar>
- DATABAR_EXP = 12¶
<https://en.wikipedia.org/wiki/GS1_DataBar>
- CODABAR = 13¶
<https://en.wikipedia.org/wiki/Codabar>
- CODE39 = 14¶
<https://en.wikipedia.org/wiki/Code_39>
- CODE93 = 15¶
<https://en.wikipedia.org/wiki/Code_93>
- CODE128 = 16¶
<https://en.wikipedia.org/wiki/Code_128>
- PDF417 = 17¶
<https://en.wikipedia.org/wiki/PDF417>
- QR = 18¶
<https://en.wikipedia.org/wiki/QR_code>
- EAN2 = 2¶
<https://en.wikipedia.org/wiki/EAN-2>
- EAN5 = 3¶
<https://en.wikipedia.org/wiki/EAN-5>
- EAN8 = 4¶
<https://en.wikipedia.org/wiki/EAN-8>
- EAN13 = 5¶
<https://en.wikipedia.org/wiki/International_Article_Number>
- UPCA = 6¶
<https://en.wikipedia.org/wiki/Universal_Product_Code>
- UPCE = 7¶
<https://en.wikipedia.org/wiki/Universal_Product_Code#UPC-E>
- ISBN10 = 8¶
<https://en.wikipedia.org/wiki/International_Standard_Book_Number>
- ISBN13 = 9¶
<https://en.wikipedia.org/wiki/International_Standard_Book_Number>
- class Aperture.MediaCaptureError(value)¶
Bases:
GObject.GEnum
Indicates the error that caused an operation to fail.
Note that functions might set errors from other domains as well. For example, if an error occurs in the GStreamer pipeline during the operation, that error will be passed directly to your async handler.
New in version 0.1.
- OPERATION_IN_PROGRESS = 0¶
Another operation is in progress. Wait for it to finish before starting another operation.
- NO_RECORDING_TO_STOP = 1¶
There is no recording to stop (applies to
Aperture.Viewfinder.stop_recording_async
()).
- CAMERA_DISCONNECTED = 2¶
The active camera was disconnected during the operation.
- INTERRUPTED = 3¶
The operation was interrupted by an unknown error.
- NOT_READY = 4¶
The viewfinder is not in the
Aperture.ViewfinderState.READY
Aperture.Viewfinder
:state
.
- class Aperture.ViewfinderState(value)¶
Bases:
GObject.GEnum
Indicates what the viewfinder is currently doing. Many tasks, like taking a picture, recording video, or switching cameras, requires the viewfinder to be in a particular state.
New in version 0.1.
- LOADING = 0¶
The
Aperture.Viewfinder
is still loading.
- READY = 1¶
The
Aperture.Viewfinder
is ready to be used.
- NO_CAMERAS = 2¶
The
Aperture.Viewfinder
could not find any cameras to use.
- ERROR = 3¶
An error has occurred and the viewfinder is not usable.