ami_OnStopCallback
Type
Declaration
typedef void (*ami_OnStopCallback)(
ami_Session inAmiSession,
ami_Method inAmiMethod,
void * inpUserData,
ami_Subscription inAmiSubscription );
Purpose
This is the prototype for the optional AMI asynchronous method on stop callback function. These functions are called whenever a subscription is stopped. The application should perform any necessary clean-up required when terminating a subscription. This callback should return AMI_OK if no error, otherwise an ami_Error
describing the failure.
Parameters
Parameter |
Description |
|
Handle of AMI session. |
|
Handle of AMI method. |
|
User data associated with the method. |
|
Asynchronous method subscription. |