> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Weak_detection_event_info_header_t

## Structures

### `detection_event_info_header_t`

**Members**

<ParamField path="key_id" type="detection_engine_event_key_id_info_t">
  Different key\_ids @values.
</ParamField>

<ParamField path="payload_size" type="uint32_t">
  Size of a specific key payload.
</ParamField>

### `confidence_level_info_t`

**Members**

<ParamField path="number_of_confidence_values" type="uint32_t">
  }
</ParamField>

<ParamField path="confidence_levels" type="uint8_t">
  This array is of size DETECTION\_ENGINE\_MAX\_REGISTERED\_MODELS. Each element is 1 byte long.

  Assuming N keywords and M active user models are included in the model, the first N elements of this parameter correspond to the confidence of N keywords. The N+1 to N+M elements control the confidence level of the M active user model. Each element maps confidence values for entries (keyword or user specific keyword) whose order is specified in the sound model.}
</ParamField>

### `keyword_position_info_t`

**Members**

<ParamField path="kw_start_timestamp_lsw" type="uint32_t">
  (in us).}
</ParamField>

<ParamField path="kw_start_timestamp_msw" type="uint32_t">
  (in us).}
</ParamField>

<ParamField path="kw_end_timestamp_lsw" type="uint32_t">
  (in us).}
</ParamField>

<ParamField path="kw_end_timestamp_msw" type="uint32_t">
  (in us).}
</ParamField>

### `detection_timestamp_info_t`

**Members**

<ParamField path="detection_timestamp_lsw" type="uint32_t">
  (in milliseconds).}
</ParamField>

<ParamField path="detection_timestamp_msw" type="uint32_t">
  }
</ParamField>

### `ftrt_data_info_t`

**Members**

<ParamField path="ftrt_data_length_in_us" type="uint32_t">
  }
</ParamField>

### `best_ch_idx_info_t`

**Members**

<ParamField path="best_ch_idx" type="uint32_t" />

### `voice_ui_multi_model_result_info_t`

**Members**

<ParamField path="num_detected_models" type="uint32_t">
  If 3 models are registered with STAGE1\_SVA5 and detected happened for 2 models, then this value will be set to 2 Following this will be num\_detected\_models number of model\_stats\_t type payloads each containing the result statistics for each detected model}
</ParamField>

### `model_stats_t`

**Members**

<ParamField path="detected_model_id" type="uint32_t" />

<ParamField path="detected_keyword_id" type="uint32_t" />

<ParamField path="best_channel_idx" type="uint32_t" />

<ParamField path="best_confidence_level" type="uint32_t" />

<ParamField path="kw_start_timestamp_lsw" type="uint32_t">
  (in us).}
</ParamField>

<ParamField path="kw_start_timestamp_msw" type="uint32_t">
  (in us).}
</ParamField>

<ParamField path="kw_end_timestamp_lsw" type="uint32_t">
  (in us).}
</ParamField>

<ParamField path="kw_end_timestamp_msw" type="uint32_t">
  (in us).}
</ParamField>

<ParamField path="detection_timestamp_lsw" type="uint32_t">
  (in milliseconds).}
</ParamField>

<ParamField path="detection_timestamp_msw" type="uint32_t">
  }
</ParamField>

### `batch_drain_complete_info_t`

**Members**

<ParamField path="drain_complete" type="uint32_t">
  Always set to 1.}
</ParamField>

## Type Definitions

### `detection_event_info_header_t`

```cpp theme={null}
typedef struct detection_event_info_header_t detection_event_info_header_t
```

### `confidence_level_info_t`

```cpp theme={null}
typedef struct confidence_level_info_t confidence_level_info_t
```

### `keyword_position_info_t`

```cpp theme={null}
typedef struct keyword_position_info_t keyword_position_info_t
```

### `detection_timestamp_info_t`

```cpp theme={null}
typedef struct detection_timestamp_info_t detection_timestamp_info_t
```

### `ftrt_data_info_t`

```cpp theme={null}
typedef struct ftrt_data_info_t ftrt_data_info_t
```

### `best_ch_idx_info_t`

```cpp theme={null}
typedef struct best_ch_idx_info_t best_ch_idx_info_t
```

### `voice_ui_multi_model_result_info_t`

```cpp theme={null}
typedef struct voice_ui_multi_model_result_info_t voice_ui_multi_model_result_info_t
```

### `model_stats_t`

```cpp theme={null}
typedef struct model_stats_t model_stats_t
```

### `batch_drain_complete_info_t`

```cpp theme={null}
typedef struct batch_drain_complete_info_t batch_drain_complete_info_t
```
