Bewerken

Delen via


ACX_KEYWORDSPOTTER_CALLBACKS_INIT function (acxelements.h)

The ACX_KEYWORDSPOTTER_CALLBACKS_INIT function initializes a ACX_KEYWORDSPOTTER_CALLBACKS structure.

Syntax

void ACX_KEYWORDSPOTTER_CALLBACKS_INIT(
  PACX_KEYWORDSPOTTER_CALLBACKS Callbacks
);

Parameters

Callbacks

A pointer to an initialized ACX_KEYWORDSPOTTER_CALLBACKS structure.

Return value

None

Remarks

Example

Example usage is shown below.

    ACX_KEYWORDSPOTTER_CALLBACKS    keywordSpotterCallbacks;
 
    ACX_KEYWORDSPOTTER_CALLBACKS_INIT(&keywordSpotterCallbacks);
 
    keywordSpotterCallbacks.EvtAcxKeywordSpotterRetrieveArm = CodecC_EvtAcxKeywordSpotterRetrieveArm;
    keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignArm = CodecC_EvtAcxKeywordSpotterAssignArm;
    keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignPatterns = CodecC_EvtAcxKeywordSpotterAssignPatterns;
    keywordSpotterCallbacks.EvtAcxKeywordSpotterAssignReset = CodecC_EvtAcxKeywordSpotterAssignReset;

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxelements.h

See also