Returns
This function returns am_status_t with one of the following
values:
-
AM_SUCCESS
-
If the listener was successfully removed.
-
AM_INVALID_ARGUMENT
-
If listener was NULL.
-
AM_NOT_FOUND
-
If listener was not found.
-
AM_FAILURE
-
If any other error occurred.