Package com.amazonaws.ivs.broadcast
Class Bluetooth
- java.lang.Object
-
- com.amazonaws.ivs.broadcast.Bluetooth
-
public class Bluetooth extends java.lang.ObjectManage the state of Bluetooth SCO capabilities
-
-
Constructor Summary
Constructors Constructor Description Bluetooth()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidstartBluetoothSco(android.content.Context context)Enable Bluetooth SCO mode.static voidstopBluetoothSco(android.content.Context context)Disable Bluetooth SCO mode.
-
-
-
Method Detail
-
startBluetoothSco
public static void startBluetoothSco(@NonNull android.content.Context context)Enable Bluetooth SCO mode. Bluetooth SCO devices will be accessible as microphones. This must be paired with a call tostopBluetoothSco(Context)- Parameters:
context- the current application context
-
stopBluetoothSco
public static void stopBluetoothSco(@NonNull android.content.Context context)Disable Bluetooth SCO mode.- Parameters:
context- the current application context
-
-