IVoiceInteractorCallback.aidl revision d3fdb8bed8e836786253f9cd5ab640c7c5ed8501
191097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn/*
291097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * Copyright (C) 2014 The Android Open Source Project
391097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn *
491097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * Licensed under the Apache License, Version 2.0 (the "License");
591097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * you may not use this file except in compliance with the License.
691097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * You may obtain a copy of the License at
791097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn *
891097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn *      http://www.apache.org/licenses/LICENSE-2.0
991097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn *
1091097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * Unless required by applicable law or agreed to in writing, software
1191097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * distributed under the License is distributed on an "AS IS" BASIS,
1291097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1391097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * See the License for the specific language governing permissions and
1491097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * limitations under the License.
1591097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn */
1691097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn
1791097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackbornpackage com.android.internal.app;
1891097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn
1991097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackbornimport android.os.Bundle;
2091097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn
2191097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackbornimport com.android.internal.app.IVoiceInteractorRequest;
2291097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn
2391097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn/**
2491097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn * IPC interface for an application to receive callbacks from the voice system.
2591097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn */
2691097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackbornoneway interface IVoiceInteractorCallback {
2791097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn    void deliverConfirmationResult(IVoiceInteractorRequest request, boolean confirmed,
2891097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn            in Bundle result);
29d3fdb8bed8e836786253f9cd5ab640c7c5ed8501Barnaby James    void deliverCompleteVoiceResult(IVoiceInteractorRequest request, in Bundle result);
30a2c076d54048258cf88ab14551ce5fdf5a09c6e8Dianne Hackborn    void deliverAbortVoiceResult(IVoiceInteractorRequest request, in Bundle result);
3118f0d357f9693fe787a3e3777d8fdf01357a6e3fDianne Hackborn    void deliverCommandResult(IVoiceInteractorRequest request, boolean complete, in Bundle result);
3291097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn    void deliverCancel(IVoiceInteractorRequest request);
3391097de49b0f683b00e26a75dbc0ac6082344137Dianne Hackborn}
34