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 com.android.settingslib.bluetooth;
18 
19 public final class BluetoothBroadcastUtils {
20 
21     /**
22      * The fragment tag specified to FragmentManager for container activities to manage fragments.
23      */
24     public static final String TAG_FRAGMENT_QR_CODE_SCANNER = "qr_code_scanner_fragment";
25 
26     /**
27      * Action for launching qr code scanner activity.
28      */
29     public static final String ACTION_BLUETOOTH_LE_AUDIO_QR_CODE_SCANNER =
30             "android.settings.BLUETOOTH_LE_AUDIO_QR_CODE_SCANNER";
31 
32     /**
33      * Extra for {@link android.bluetooth.BluetoothDevice}.
34      */
35     public static final String EXTRA_BLUETOOTH_DEVICE_SINK = "bluetooth_device_sink";
36 
37     /**
38      * Extra for checking the {@link android.bluetooth.BluetoothLeBroadcastAssistant} should perform
39      * this operation for all coordinated set members throughout one session or not.
40      */
41     public static final String EXTRA_BLUETOOTH_SINK_IS_GROUP = "bluetooth_sink_is_group";
42 
43     /**
44      * Bluetooth scheme.
45      */
46     public static final String SCHEME_BT_BROADCAST_METADATA = "BLUETOOTH:UUID:184F;";
47 }
48