Package com.amazonaws.ivs.broadcast
Class Bluetooth
java.lang.Object
com.amazonaws.ivs.broadcast.Bluetooth
Manage the state of Bluetooth SCO capabilities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
startBluetoothSco
(android.content.Context context) Enable Bluetooth SCO mode.static void
stopBluetoothSco
(android.content.Context context) Disable Bluetooth SCO mode.
-
Constructor Details
-
Bluetooth
public Bluetooth()
-
-
Method Details
-
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
-