36 lines
1.1 KiB
Protocol Buffer
36 lines
1.1 KiB
Protocol Buffer
/*
|
|
* Copyright 2018 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
syntax = "proto2";
|
|
package android.bluetooth.a2dp;
|
|
|
|
option java_outer_classname = "BluetoothA2dpProtoEnums";
|
|
option java_multiple_files = true;
|
|
|
|
// A2dp playback state enum, defined from:
|
|
// frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
|
|
enum PlaybackStateEnum {
|
|
PLAYBACK_STATE_UNKNOWN = 0;
|
|
PLAYBACK_STATE_PLAYING = 10;
|
|
PLAYBACK_STATE_NOT_PLAYING = 11;
|
|
}
|
|
|
|
enum AudioCodingModeEnum {
|
|
AUDIO_CODING_MODE_UNKNOWN = 0;
|
|
AUDIO_CODING_MODE_HARDWARE = 1;
|
|
AUDIO_CODING_MODE_SOFTWARE = 2;
|
|
}
|