class ContextFeatureFlags

Defined at line 31 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

Feature flags that allow augmenting Context behavior. Some features require additional services

in the service directory provided during context initialization. See

[`CreateContextParams.service_directory`].

|ContextFeatureFlags| 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 ContextFeatureFlags kNetwork
static ContextFeatureFlags kAudio
static ContextFeatureFlags kVulkan
static ContextFeatureFlags kHardwareVideoDecoder
static ContextFeatureFlags kHardwareVideoDecoderOnly
static ContextFeatureFlags kWidevineCdm
static ContextFeatureFlags kHeadless
static ContextFeatureFlags kLegacymetrics
static ContextFeatureFlags kKeyboard
static ContextFeatureFlags kVirtualKeyboard
static ContextFeatureFlags kDisableDynamicCodeGeneration
static ContextFeatureFlags kMask

Public Methods

void ContextFeatureFlags ()

Defined at line 33 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void ContextFeatureFlags (uint64_t value)

Constructs an instance of |ContextFeatureFlags| from an underlying primitive value,

preserving any bit member not defined in the FIDL schema.

Defined at line 37 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

uint64_t operator unsigned long ()

Defined at line 51 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

bool operator bool ()

Defined at line 52 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

bool operator== (const ContextFeatureFlags & other)

Defined at line 53 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

bool operator!= (const ContextFeatureFlags & other)

Defined at line 54 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

std::optional<ContextFeatureFlags> TryFrom (uint64_t value)

Constructs an instance of |ContextFeatureFlags| 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 68 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

ContextFeatureFlags TruncatingUnknown (uint64_t value)

Constructs an instance of |ContextFeatureFlags| from an underlying primitive value,

clearing any bit member not defined in the FIDL schema.

Defined at line 77 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

ContextFeatureFlags operator~ ()

Defined at line 108 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

ContextFeatureFlags operator| (const ContextFeatureFlags & other)

Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

ContextFeatureFlags operator& (const ContextFeatureFlags & other)

Defined at line 117 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

ContextFeatureFlags operator^ (const ContextFeatureFlags & other)

Defined at line 122 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

ContextFeatureFlags operator- (const ContextFeatureFlags & other)

Defined at line 127 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator|= (const ContextFeatureFlags & other)

Defined at line 132 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator&= (const ContextFeatureFlags & other)

Defined at line 137 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator^= (const ContextFeatureFlags & other)

Defined at line 142 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h

void operator-= (const ContextFeatureFlags & other)

Defined at line 147 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/common_types.h