blob: 8704dad2ea08c075168a761e9544aa03fcbd12e4 [file] [log] [blame]
Felipe Leme749b8892018-12-03 16:30:30 -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.view.contentcapture;
18
19import android.content.ComponentName;
20import android.view.contentcapture.ContentCaptureEvent;
21import android.os.IBinder;
22
23import com.android.internal.os.IResultReceiver;
24
25import java.util.List;
26
27/**
28 * {@hide}
29 */
30oneway interface IContentCaptureManager {
31 void startSession(int userId, IBinder activityToken, in ComponentName componentName,
32 String sessionId, int flags, in IResultReceiver result);
33 void finishSession(int userId, String sessionId, in List<ContentCaptureEvent> events);
34 void sendEvents(int userId, in String sessionId, in List<ContentCaptureEvent> events);
35}