Package com.amazonaws.ivs.broadcast
Class Bluetooth
- java.lang.Object
-
- com.amazonaws.ivs.broadcast.Bluetooth
-
public class Bluetooth extends java.lang.Object
Manage 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 void
startBluetoothSco(android.content.Context context)
Enable Bluetooth SCO mode.static void
stopBluetoothSco(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
-
-