diff --git a/android/src/main/java/com/brentvatne/receiver/BecomingNoisyListener.java b/android/src/main/java/com/brentvatne/receiver/BecomingNoisyListener.java deleted file mode 100644 index 6a5d37d8..00000000 --- a/android/src/main/java/com/brentvatne/receiver/BecomingNoisyListener.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.brentvatne.receiver; - -public interface BecomingNoisyListener { - - BecomingNoisyListener NO_OP = new BecomingNoisyListener() { - @Override public void onAudioBecomingNoisy() { - // NO_OP - } - }; - - void onAudioBecomingNoisy(); - -} diff --git a/android/src/main/java/com/brentvatne/receiver/BecomingNoisyListener.kt b/android/src/main/java/com/brentvatne/receiver/BecomingNoisyListener.kt new file mode 100644 index 00000000..d967fc9d --- /dev/null +++ b/android/src/main/java/com/brentvatne/receiver/BecomingNoisyListener.kt @@ -0,0 +1,12 @@ +package com.brentvatne.receiver + +interface BecomingNoisyListener { + companion object { + val NO_OP = object : BecomingNoisyListener { + override fun onAudioBecomingNoisy() { + // NO_OP + } + } + } + fun onAudioBecomingNoisy() +}