This function returns one of the values of the am_status_t enumeration (defined in the <am_types.h> header file).