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