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