class CameraStreamType
Defined at line 22 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
Different Stream types provided by the camera stack.
|CameraStreamType| is strict, hence is guaranteed to only contain
members defined in the FIDL schema when receiving it in a message.
Sending unknown members will fail at runtime.
Public Members
static CameraStreamType kMachineLearning
static CameraStreamType kMonitoring
static CameraStreamType kFullResolution
static CameraStreamType kDownscaledResolution
static CameraStreamType kVideoConference
static CameraStreamType kExtendedFov
static CameraStreamType kMask
Public Methods
void CameraStreamType ()
Defined at line 24 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
void CameraStreamType (uint32_t value)
Constructs an instance of |CameraStreamType| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 28 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
uint32_t operator unsigned int ()
Defined at line 37 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
bool operator bool ()
Defined at line 38 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
bool operator== (const CameraStreamType & other)
Defined at line 39 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
bool operator!= (const CameraStreamType & other)
Defined at line 40 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
std::optional<CameraStreamType> TryFrom (uint32_t value)
Constructs an instance of |CameraStreamType| from an underlying primitive value
if the primitive does not contain any unknown members not defined in the
FIDL schema. Otherwise, returns |std::nullopt|.
Defined at line 54 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
CameraStreamType TruncatingUnknown (uint32_t value)
Constructs an instance of |CameraStreamType| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 63 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
CameraStreamType operator~ ()
Defined at line 84 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
CameraStreamType operator| (const CameraStreamType & other)
Defined at line 88 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
CameraStreamType operator& (const CameraStreamType & other)
Defined at line 93 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
CameraStreamType operator^ (const CameraStreamType & other)
Defined at line 98 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
CameraStreamType operator- (const CameraStreamType & other)
Defined at line 103 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
void operator|= (const CameraStreamType & other)
Defined at line 108 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
void operator&= (const CameraStreamType & other)
Defined at line 113 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
void operator^= (const CameraStreamType & other)
Defined at line 118 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h
void operator-= (const CameraStreamType & other)
Defined at line 123 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/common_types.h