ami_TraceHandler
Type
Declaration
typedef void (*ami_TraceHandler)(
ami_Session inAmiSession,
ami_TraceCode inTraceCode,
int inTraceID,
const char * inpText,
void * inpUserData );
Purpose
This is the prototype for the optional AMI trace handler callback. This callback is used by AMI API to report events to the application. These events are classified by ami_TraceCode
. If no trace handler is provided then tracing is disabled. Tracing can be controlled (including turned off) using the trace control functions.
Parameters
Parameter |
Description |
|
AMI session handle reporting the trace event. |
|
Category of trace event. |
|
Unique ID of trace event. |
|
Textual description of trace event |
|
User data associated with the AMI session. |