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, "")); "" }
|
"showJsonDialog" -> { showJsonDialog(args.optString(0, "")); "" }
|
||||||
"getTempCallStatus" -> getTempCallStatus()
|
"getTempCallStatus" -> getTempCallStatus()
|
||||||
"maximizeTempCall" -> { maximizeTempCall(); "" }
|
"maximizeTempCall" -> { maximizeTempCall(); "" }
|
||||||
|
"getTempGroupId" -> getTempGroupId()
|
||||||
"logout" -> { logout(); "" }
|
"logout" -> { logout(); "" }
|
||||||
else -> {
|
else -> {
|
||||||
Timber.tag("Bridge").w("Unknown method: $method")
|
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() {
|
fun maximizeTempCall() {
|
||||||
Handler(Looper.getMainLooper()).post {
|
Handler(Looper.getMainLooper()).post {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue