1 package android.federatedcompute.aidl; 2 3 4 /** 5 * Callback from a schedule/cancel federated computation request. 6 * @hide 7 */ 8 oneway interface IFederatedComputeCallback { 9 /** Sends back a void indicating success. */ onSuccess()10 void onSuccess(); 11 /** Sends back a status code indicating failure. */ onFailure(int errorCode)12 void onFailure(int errorCode); 13 }