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