1 package android.health.connect.aidl; 2 3 import android.health.connect.aidl.HealthConnectExceptionParcel; 4 5 /** 6 * Callback to for {@link HealthConnect} APIs with no result object 7 * {@hide} 8 */ 9 interface IEmptyResponseCallback { 10 // Called on a successful operation onResult()11 oneway void onResult(); 12 // Called when an error is hit onError(in HealthConnectExceptionParcel exception)13 oneway void onError(in HealthConnectExceptionParcel exception); 14 } 15