Merge pull request #1255 from kevlahnota/master

get screensize for Android
This commit is contained in:
Anthony Calosa
2022-08-01 16:39:35 +08:00
committed by GitHub
7 changed files with 104 additions and 53 deletions

View File

@@ -1,5 +1,7 @@
package forge.interfaces;
import org.apache.commons.lang3.tuple.Pair;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
@@ -15,4 +17,5 @@ public interface IDeviceAdapter {
void restart();
void exit();
void convertToJPEG(InputStream input, OutputStream output) throws IOException;
Pair<Integer, Integer> getRealScreenSize(boolean real);
}