credential_query_result_get_status()

Retrieve the termination reason for an credential query.

Synopsis:

#include <sys/credential/credential_store.h>
 
credential_query_status_t credential_query_result_get_status(const credential_query_result_t *result)

Since:

BlackBerry 10.3.1

Arguments:

result

The credential query result.

Library:

libcredential (For the qcc command, use the -l bps option to link against this library)

Description:

This function returns the completion status of the query.

For example, if the user is prompted for their credentials, but they hit cancel instead, CREDENTIAL_QUERY_STATUS_CANCEL status would be returned.

Returns:

The termination reason for credential query.