Skip to main content

MaaAdbScreencapMethod

Type Alias MaaAdbScreencapMethod 

Source
pub type MaaAdbScreencapMethod = u64;
Expand description

@brief Adb screencap method flags

Use bitwise OR to set the methods you need. MaaFramework will test all provided methods and use the fastest available one.

Default: All methods except RawByNetcat, MinicapDirect, MinicapStream

Note: MinicapDirect and MinicapStream use lossy JPEG encoding, which may significantly reduce template matching accuracy. Not recommended.

MethodSpeedCompatibilityEncodingNotes
EncodeToFileAndPullSlowHighLossless
EncodeSlowHighLossless
RawWithGzipMediumHighLossless
RawByNetcatFastLowLossless
MinicapDirectFastLowLossy
MinicapStreamVery FastLowLossy
EmulatorExtrasVery FastLowLosslessEmulators only: MuMu 12, LDPlayer 9