This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the listener was successfully removed.
If the listener is NULL.
If listener was not found.
If any other error occurred.