Enum AdbScreencapMethods
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
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.
| Method | Speed | Compatibility | Encoding | Notes |
|-----------------------|------------|---------------|----------|-------------------------------------|
| EncodeToFileAndPull | Slow | High | Lossless | |
| Encode | Slow | High | Lossless | |
| RawWithGzip | Medium | High | Lossless | |
| RawByNetcat | Fast | Low | Lossless | |
| MinicapDirect | Fast | Low | Lossy | |
| MinicapStream | Very Fast | Low | Lossy | |
| EmulatorExtras | Very Fast | Low | Lossless | Emulators only: MuMu 12, LDPlayer 9 |
[Flags]
public enum AdbScreencapMethods : ulongFields
All = 18446744073709551615Default = 18446744073709551559EmulatorExtras = 64Encode = 2EncodeToFileAndPull = 1MinicapDirect = 16MinicapStream = 32None = 0RawByNetcat = 8RawWithGzip = 4