Table of Contents

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 : ulong

Fields

All = 18446744073709551615
Default = 18446744073709551559
EmulatorExtras = 64
Encode = 2
EncodeToFileAndPull = 1
MinicapDirect = 16
MinicapStream = 32
None = 0
RawByNetcat = 8
RawWithGzip = 4