• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright (c) 2022 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 
17 package android.telephony.imsmedia;
18 
19 import android.telephony.imsmedia.AudioConfig;
20 import android.telephony.imsmedia.MediaQualityThreshold;
21 import android.telephony.ims.RtpHeaderExtension;
22 
23 /**
24  * See ImsAudioSession for more information.
25  *
26  * {@hide}
27  */
28 interface IImsAudioSession {
getSessionId()29     int getSessionId();
modifySession(in AudioConfig config)30     oneway void modifySession(in AudioConfig config);
addConfig(in AudioConfig config)31     oneway void addConfig(in AudioConfig config);
deleteConfig(in AudioConfig config)32     oneway void deleteConfig(in AudioConfig config);
confirmConfig(in AudioConfig config)33     oneway void confirmConfig(in AudioConfig config);
sendDtmf(char dtmfDigit, int duration)34     oneway void sendDtmf(char dtmfDigit, int duration);
startDtmf(char dtmfDigit)35     oneway void startDtmf(char dtmfDigit);
stopDtmf()36     oneway void stopDtmf();
sendHeaderExtension(in List<RtpHeaderExtension> extensions)37     oneway void sendHeaderExtension(in List<RtpHeaderExtension> extensions);
setMediaQualityThreshold(in MediaQualityThreshold threshold)38     oneway void setMediaQualityThreshold(in MediaQualityThreshold threshold);
requestRtpReceptionStats(in int intervalMs)39     oneway void requestRtpReceptionStats(in int intervalMs);
adjustDelay(in int delayMs)40     oneway void adjustDelay(in int delayMs);
41 }
42 
43