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