Function GenieDialogConfig_bindProfiler

Function Documentation

Genie_Status_t GenieDialogConfig_bindProfiler(const GenieDialogConfig_Handle_t configHandle, const GenieProfile_Handle_t profileHandle)

A function to bind a profile handle to dialog config. The profile handle will also be bound to any dialog handle created from this dialog config handle.

Parameters
  • configHandle[in] A handle to a valid config.

  • profileHandle[in] The profile handle on which metrics are populated and can be queried. Cannot be NULL.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Config handle or profile handle is invalid.

Note

All profile handles which bind to the same dialog config must use the same configuration options. Only one trace-enabled profile handle may be bound to a dialog config.