1 package android.health.connect.aidl; 2 3 import android.health.connect.ReadMedicalResourcesResponse; 4 import android.health.connect.aidl.HealthConnectExceptionParcel; 5 6 /** 7 * Callback for {@link IHealthConnectService#readMedicalResources}. 8 * 9 * {@hide} 10 */ 11 interface IReadMedicalResourcesResponseCallback { 12 // Called on a successful operation onResult(in ReadMedicalResourcesResponse parcel)13 oneway void onResult(in ReadMedicalResourcesResponse parcel); 14 // Called when an error is hit onError(in HealthConnectExceptionParcel exception)15 oneway void onError(in HealthConnectExceptionParcel exception); 16 } 17