1 /* 2 * Copyright 2024 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 bluetooth.constants.aics; 18 19 /** 20 * See Audio Input Control Service 1.0 - 2.2.1.3. Gain_Mode field 21 * The Gain_Mode field shall be set to a value that reflects whether gain modes are manual 22 * or automatic. 23 * - Manual Only, the server allows only manual gain. 24 * - Automatic Only, the server allows only automatic gain. 25 * 26 * For all other Gain_Mode field values, the server allows switchable automatic/manual gain. 27 * {@hide} 28 */ 29 @JavaDerive(toString = true) 30 @Backing(type="byte") 31 enum GainMode { 32 MANUAL_ONLY = 0x00, 33 AUTOMATIC_ONLY = 0x01, 34 MANUAL = 0x02, 35 AUTOMATIC = 0x03, 36 } 37