目录

CredentialCallback<T>

Interface Info

public interface CredentialCallback<T>

Callback for credential management.

Public Method Summary

Qualifier and Type

Method Name and Description

public void

onSuccess(T result)

Called when the operation is successful.

public void

onFailure(long errorCode, CharSequence errString)

Called when the operation fails.

Public Methods

[h2]onSuccess

Method

public void onSuccess(T result)

Called when the CredentialClient method is executed successfully.

Parameters

Name

Description

result

Result returned when the operation is successful.

[h2]onFailure

Method

public void onFailure(long errorCode, CharSequence errString)

Called when the CredentialClient method fails to be executed.

Parameters

Name

Description

errorCode

Error code returned when the operation fails.

errString

Error description returned when the operation fails.