toggle menu
Android-CallKit-SDK
5.6.9
io.rong.callkit
switch theme
search in API
Android-CallKit-SDK
/
io.rong.callkit.util
/
BluetoothUtil
Bluetooth
Util
public
class
BluetoothUtil
Created by degnxudong on 2018/8/24.
Members
Constructors
Bluetooth
Util
Link copied to clipboard
public
void
BluetoothUtil
(
)
Functions
has
Bluetooth
A2dp
Connected
Link copied to clipboard
public
static
boolean
hasBluetoothA2dpConnected
(
)
是否连接了蓝牙耳机
is
Forground
Link copied to clipboard
public
static
boolean
isForground
(
Activity activity
)
is
Support
Bluetooth
Link copied to clipboard
public
static
boolean
isSupportBluetooth
(
)
是否支持蓝牙
is
Wired
Headset
On
Link copied to clipboard
public
static
boolean
isWiredHeadsetOn
(
Context context
)
是否插入了有线耳机
start
Blue
Tooth
Sco
Link copied to clipboard
public
static
void
startBlueToothSco
(
Context context
)
stop
Blue
Tooth
Sco
Link copied to clipboard
public
static
void
stopBlueToothSco
(
Context context
)