blob: cdfad02a96b1fa8011f1a6ab1ba76ef436ed03ae [file] [log] [blame]
Ihab Awadb19a0bc2014-08-07 19:46:01 -07001/*
2 * Copyright (C) 2014 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
Tyler Gunnef9f6f92014-09-12 22:16:17 -070017package com.android.internal.telecom;
Ihab Awadb19a0bc2014-08-07 19:46:01 -070018
Tyler Gunnef9f6f92014-09-12 22:16:17 -070019import android.telecom.VideoProfile;
Ihab Awadb19a0bc2014-08-07 19:46:01 -070020
21 /**
22 * Internal definition of a callback interface, used for an InCallUi to respond to video
23 * telephony changes.
24 *
Tyler Gunnef9f6f92014-09-12 22:16:17 -070025 * @see android.telecom.InCallService.VideoCall.Listener
Ihab Awadb19a0bc2014-08-07 19:46:01 -070026 *
27 * {@hide}
28 */
29oneway interface IVideoCallback {
30 void receiveSessionModifyRequest(in VideoProfile videoProfile);
31
32 void receiveSessionModifyResponse(
33 int status,
34 in VideoProfile requestedProfile,
35 in VideoProfile responseProfile);
36
37 void handleCallSessionEvent(int event);
38
39 void changePeerDimensions(int width, int height);
40
Rekha Kumar07366812015-03-24 16:42:31 -070041 void changeCallDataUsage(long dataUsage);
Ihab Awadb19a0bc2014-08-07 19:46:01 -070042
Yorke Lee400470f2015-05-12 13:31:25 -070043 void changeCameraCapabilities(in VideoProfile.CameraCapabilities cameraCapabilities);
Rekha Kumar07366812015-03-24 16:42:31 -070044
45 void changeVideoQuality(int videoQuality);
Ihab Awadb19a0bc2014-08-07 19:46:01 -070046}