feat: add getTempGroupId bridge method in AndroidInterface
This commit is contained in:
parent
38c7494d73
commit
cc73549ebd
|
|
@ -86,6 +86,7 @@ class AndroidInterface(private val activity: MainActivity) {
|
|||
"showJsonDialog" -> { showJsonDialog(args.optString(0, "")); "" }
|
||||
"getTempCallStatus" -> getTempCallStatus()
|
||||
"maximizeTempCall" -> { maximizeTempCall(); "" }
|
||||
"getTempGroupId" -> getTempGroupId()
|
||||
"logout" -> { logout(); "" }
|
||||
else -> {
|
||||
Timber.tag("Bridge").w("Unknown method: $method")
|
||||
|
|
@ -500,6 +501,10 @@ class AndroidInterface(private val activity: MainActivity) {
|
|||
}
|
||||
}
|
||||
|
||||
fun getTempGroupId(): String {
|
||||
return TempCallActivity.currentTempGroupId
|
||||
}
|
||||
|
||||
fun maximizeTempCall() {
|
||||
Handler(Looper.getMainLooper()).post {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue