blob: 2926734086a5741ab701f00da0c945cbd5c941cc [file] [log] [blame]
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -08001/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.service.textclassifier;
18
Tony Mak9920dbb2019-01-23 19:49:30 +000019import android.os.Bundle;
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -080020import android.view.textclassifier.TextSelection;
21
22/**
Tony Mak9920dbb2019-01-23 19:49:30 +000023 * Callback for all requests from SystemTextClassifier.
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -080024 * @hide
25 */
Tony Mak9920dbb2019-01-23 19:49:30 +000026oneway interface ITextClassifierCallback {
27 void onSuccess(in Bundle result);
Abodunrinwa Tokid32906c2018-01-18 04:34:44 -080028 void onFailure();
29}