/*
 * Copyright 2022 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package android.hardware.wifi@1.6;

import @1.4::IWifiRttControllerEventCallback;
import @1.0::CommandId;

/**
 * RTT Response and Event Callbacks.
 */
interface IWifiRttControllerEventCallback extends @1.4::IWifiRttControllerEventCallback {
    /*
     * Invoked when an RTT result is available.
     *
     * @param cmdId command Id corresponding to the original request.
     * @param results Vector of |RttResult| instances.
     */
    oneway onResults_1_6(CommandId cmdId, vec<RttResult> results);
};
