Audio

class Audio

This Audio class play alert (song, message and vribration)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@RequiresApi(value = 31)
fun playAlert(scanningAlert: ScanningAlert, context: Context)

playAlert method which handle alerts play (a song ScanningAlert.connectBeep, ScanningAlert.disconnectBeep, ScanningAlert.scanBeep, show message ScanningAlert.showToast or/and ScanningAlert.vibration vibration)