IImsVideoCallCallback.aidl revision 07366813cdf3768dcd69a1f744023747564d654a
1752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee/* 2752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * Copyright (C) 2014 The Android Open Source Project 3752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 4752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * Licensed under the Apache License, Version 2.0 (the "License"); 5752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * you may not use this file except in compliance with the License. 6752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * You may obtain a copy of the License at 7752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 8752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * http://www.apache.org/licenses/LICENSE-2.0 9752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 10752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * Unless required by applicable law or agreed to in writing, software 11752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * distributed under the License is distributed on an "AS IS" BASIS, 12752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * See the License for the specific language governing permissions and 14752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * limitations under the License. 15752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee */ 16752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 17752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Leepackage com.android.ims.internal; 18752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 19ef9f6f957d897ea0ed82114185b8fa3fefd4917bTyler Gunnimport android.telecom.CameraCapabilities; 20ef9f6f957d897ea0ed82114185b8fa3fefd4917bTyler Gunnimport android.telecom.VideoProfile; 21752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 22752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee/** 23752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * Internal remote interface for IMS's video call provider. 24752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 25752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * At least initially, this aidl mirrors telecomm's {@link VideoCallCallback}. We created a 26752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * separate aidl interface for invoking callbacks in Telephony from the IMS Service to without 27752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * accessing internal interfaces. See {@link IImsVideoCallProvider} for additional detail. 28752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 29ef9f6f957d897ea0ed82114185b8fa3fefd4917bTyler Gunn * @see android.telecom.internal.IVideoCallCallback 30ef9f6f957d897ea0ed82114185b8fa3fefd4917bTyler Gunn * @see android.telecom.VideoCallImpl 31752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 32752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * {@hide} 33752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee */ 34752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Leeoneway interface IImsVideoCallCallback { 35b19a0bcdd8a5020c61a0d697f600fdc943c86f59Ihab Awad void receiveSessionModifyRequest(in VideoProfile videoProfile); 36752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 37b19a0bcdd8a5020c61a0d697f600fdc943c86f59Ihab Awad void receiveSessionModifyResponse(int status, in VideoProfile requestedProfile, 38b19a0bcdd8a5020c61a0d697f600fdc943c86f59Ihab Awad in VideoProfile responseProfile); 39752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 40752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee void handleCallSessionEvent(int event); 41752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 42752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee void changePeerDimensions(int width, int height); 43752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 4407366813cdf3768dcd69a1f744023747564d654aRekha Kumar void changeCallDataUsage(long dataUsage); 45752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 46b19a0bcdd8a5020c61a0d697f600fdc943c86f59Ihab Awad void changeCameraCapabilities(in CameraCapabilities cameraCapabilities); 4707366813cdf3768dcd69a1f744023747564d654aRekha Kumar 4807366813cdf3768dcd69a1f744023747564d654aRekha Kumar void changeVideoQuality(int videoQuality); 49752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee} 50