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.VideoProfile; 20752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 21752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee/** 22752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * Internal remote interface for IMS's video call provider. 23752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 24752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * At least initially, this aidl mirrors telecomm's {@link VideoCallCallback}. We created a 25752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * separate aidl interface for invoking callbacks in Telephony from the IMS Service to without 26752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * accessing internal interfaces. See {@link IImsVideoCallProvider} for additional detail. 27752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 28ef9f6f957d897ea0ed82114185b8fa3fefd4917bTyler Gunn * @see android.telecom.internal.IVideoCallCallback 29ef9f6f957d897ea0ed82114185b8fa3fefd4917bTyler Gunn * @see android.telecom.VideoCallImpl 30752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * 31752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee * {@hide} 32752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee */ 33752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Leeoneway interface IImsVideoCallCallback { 34b19a0bcdd8a5020c61a0d697f600fdc943c86f59Ihab Awad void receiveSessionModifyRequest(in VideoProfile videoProfile); 35752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 36b19a0bcdd8a5020c61a0d697f600fdc943c86f59Ihab Awad void receiveSessionModifyResponse(int status, in VideoProfile requestedProfile, 37b19a0bcdd8a5020c61a0d697f600fdc943c86f59Ihab Awad in VideoProfile responseProfile); 38752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 39752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee void handleCallSessionEvent(int event); 40752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 41752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee void changePeerDimensions(int width, int height); 42752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 4307366813cdf3768dcd69a1f744023747564d654aRekha Kumar void changeCallDataUsage(long dataUsage); 44752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee 45400470fab932fe3374149ab89386e460ea161002Yorke Lee void changeCameraCapabilities(in VideoProfile.CameraCapabilities cameraCapabilities); 4607366813cdf3768dcd69a1f744023747564d654aRekha Kumar 4707366813cdf3768dcd69a1f744023747564d654aRekha Kumar void changeVideoQuality(int videoQuality); 48752217bfc662402cdf13368e4b2a0338e8e0aed8Andrew Lee} 49