Skip to content

Commit

Permalink
refactor(android): migrate BecomingNoisyListener interface to Kotlin (#…
Browse files Browse the repository at this point in the history
…3996)

* Rename .java to .kt

* refactor(android): migrate BecomingNoisyListener interface to Kotlin

* remove: java file (AudioBecomingNoisyReceiver.java)
  • Loading branch information
seyedmostafahasani authored Jul 18, 2024
1 parent 2f70c02 commit 76d5e93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package com.brentvatne.receiver

interface BecomingNoisyListener {
companion object {
val NO_OP = object : BecomingNoisyListener {
override fun onAudioBecomingNoisy() {
// NO_OP
}
}
}
fun onAudioBecomingNoisy()
}

0 comments on commit 76d5e93

Please sign in to comment.