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