1 package android.app.ondeviceintelligence; 2 3 import android.app.ondeviceintelligence.Feature; 4 import android.os.PersistableBundle; 5 6 /** 7 * Interface for receiving a feature for the given identifier. 8 * 9 * @hide 10 */ 11 oneway interface IFeatureCallback { 12 void onSuccess(in Feature result) = 1; onFailure(int errorCode, in String errorMessage, in PersistableBundle errorParams)13 void onFailure(int errorCode, in String errorMessage, in PersistableBundle errorParams) = 2; 14 } 15