1 package android.service.credentials; 2 3 import android.service.credentials.BeginGetCredentialResponse; 4 import android.os.ICancellationSignal; 5 6 7 /** 8 * Interface from the system to a credential provider service. 9 * 10 * @hide 11 */ 12 oneway interface IBeginGetCredentialCallback { onSuccess(in BeginGetCredentialResponse response)13 void onSuccess(in BeginGetCredentialResponse response); onFailure(String errorType, in CharSequence message)14 void onFailure(String errorType, in CharSequence message); onCancellable(in ICancellationSignal cancellation)15 void onCancellable(in ICancellationSignal cancellation); 16 }