BluetoothUtil

public class BluetoothUtil

Created by degnxudong on 2018/8/24.

Constructors

Link copied to clipboard
public void BluetoothUtil()

Functions

Link copied to clipboard
public static boolean hasBluetoothA2dpConnected()
是否连接了蓝牙耳机
Link copied to clipboard
public static boolean isForground(Activity activity)
Link copied to clipboard
public static boolean isSupportBluetooth()
是否支持蓝牙
Link copied to clipboard
public static boolean isWiredHeadsetOn(Context context)
是否插入了有线耳机
Link copied to clipboard
public static void startBlueToothSco(Context context)
Link copied to clipboard
public static void stopBlueToothSco(Context context)