Android: Convert CompressCallback to Kotlin

This commit is contained in:
Simonx22 2025-11-17 22:44:50 -05:00
parent 27f5c91624
commit 0f7ee5b40f
2 changed files with 10 additions and 11 deletions

View File

@ -1,11 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.utils;
import androidx.annotation.Keep;
public interface CompressCallback
{
@Keep
boolean run(String text, float completion);
}

View File

@ -0,0 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-or-later
package org.dolphinemu.dolphinemu.utils
import androidx.annotation.Keep
@Keep
fun interface CompressCallback {
fun run(text: String, completion: Float): Boolean
}