mirror of https://github.com/Genymobile/scrcpy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
791 B
Java
43 lines
791 B
Java
package com.genymobile.scrcpy;
|
|
|
|
import android.graphics.Rect;
|
|
|
|
public class Options {
|
|
private int maxSize;
|
|
private int bitRate;
|
|
private boolean tunnelForward;
|
|
private Rect crop;
|
|
|
|
public int getMaxSize() {
|
|
return maxSize;
|
|
}
|
|
|
|
public void setMaxSize(int maxSize) {
|
|
this.maxSize = maxSize;
|
|
}
|
|
|
|
public int getBitRate() {
|
|
return bitRate;
|
|
}
|
|
|
|
public void setBitRate(int bitRate) {
|
|
this.bitRate = bitRate;
|
|
}
|
|
|
|
public boolean isTunnelForward() {
|
|
return tunnelForward;
|
|
}
|
|
|
|
public void setTunnelForward(boolean tunnelForward) {
|
|
this.tunnelForward = tunnelForward;
|
|
}
|
|
|
|
public Rect getCrop() {
|
|
return crop;
|
|
}
|
|
|
|
public void setCrop(Rect crop) {
|
|
this.crop = crop;
|
|
}
|
|
}
|