Send feedback
litert:: OpaqueOptions
#include <litert_opaque_options.h>
A C++ wrapper for LiteRtOpaqueOptions, providing a way to manage and access type-erased configuration data.
Summary
Inheritance Inherits from: internal::Handle< LiteRtOpaqueOptions, LiteRtDestroyOpaqueOptions >
Public static functions
Create (const std::string & payload_identifier, void *payload_data, void(*)(void *payload_data) payload_destructor)
WrapCObject (LiteRtOpaqueOptions options, OwnHandle owned)
Protected functions
OpaqueOptions (LiteRtOpaqueOptions options, OwnHandle owned)
Public types Public functions
GetIdentifier
Expected < absl :: string_view > GetIdentifier () const
OpaqueOptions
OpaqueOptions()=default
SetHash
Expected < void > SetHash (
LiteRtOpaqueOptionsHashFunc payload_hash_func
)
Public static functions
Create
Expected < OpaqueOptions > Create (
const std :: string & payload_identifier ,
void * payload_data ,
void ( * )( void * payload_data ) payload_destructor
)
WrapCObject
OpaqueOptions WrapCObject(
LiteRtOpaqueOptions options,
OwnHandle owned
)
Protected functions
OpaqueOptions
OpaqueOptions(
LiteRtOpaqueOptions options,
OwnHandle owned
)
Details
Parameters
owned
Indicates if the created AcceleratorCompilationOptions object should take ownership of the provided options handle.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-06 UTC."],[],[]]