checkDeviceIsEarpiece method
Implementation
bool checkDeviceIsEarpiece({required AudioDevice device}) {
if (device.type == AudioDeviceType.builtInEarpiece) {
return true;
}
return false;
}
bool checkDeviceIsEarpiece({required AudioDevice device}) {
if (device.type == AudioDeviceType.builtInEarpiece) {
return true;
}
return false;
}