Set the credential type that should be used when performing query.
#include <sys/credential/credential_store.h>
int credential_query_set_cred_type(credential_query_t *query,
credential_type_t type)
BlackBerry 10.3.1
The query to update.
The credential type to set.
Specify the credential type that the input query should be restricted to when it is executed.
By default, the query will use CREDENTIAL_TYPE_ANY. This implies that query result may include credential of any type.
0 if operation was successful, error code otherwise.