SetDynamicOptions property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtEp> this_ptr, Pointer<Pointer<Char>> option_keys, Pointer<Pointer<Char>> option_values, Size num_options)>> SetDynamicOptions
getter/setter pair

\brief Set dynamic options on this EP.

Dynamic options can be set by the user at any time after session creation with OrtApi::SetEpDynamicOptions().

\paramin this_ptr The OrtEp instance. \paramin option_keys The dynamic option keys. \paramin option_values The dynamic option values. \paramin num_options The number of dynamic options.

\note Implementation of this function is optional. An EP should only implement this if it needs to handle any dynamic options.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtEp> this_ptr,
      ffi.Pointer<ffi.Pointer<ffi.Char>> option_keys,
      ffi.Pointer<ffi.Pointer<ffi.Char>> option_values,
      ffi.Size num_options,
    )
  >
>
SetDynamicOptions;