Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScreencapNone ScreencapMethod = 0 ScreencapEncodeToFileAndPull ScreencapMethod = 1 ScreencapEncode ScreencapMethod = 1 << 1 ScreencapRawWithGzip ScreencapMethod = 1 << 2 ScreencapRawByNetcat ScreencapMethod = 1 << 3 ScreencapMinicapDirect ScreencapMethod = 1 << 4 ScreencapMinicapStream ScreencapMethod = 1 << 5 ScreencapEmulatorExtras ScreencapMethod = 1 << 6 ScreencapAll = ^ScreencapNone ScreencapDefault = ScreencapAll & (^ScreencapRawByNetcat) & (^ScreencapMinicapDirect) & (^ScreencapMinicapStream) InputNone InputMethod = 0 InputAdbShell InputMethod = 1 InputMinitouchAndAdbKey InputMethod = 1 << 1 InputMaatouch InputMethod = 1 << 2 InputEmulatorExtras InputMethod = 1 << 3 InputAll = ^InputNone InputDefault = InputAll & (^InputEmulatorExtras) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputMethod ¶
type InputMethod uint64
AdbInputMethod
Use bitwise OR to set the method you need, MaaFramework will select the available ones according to priority. The priority is: EmulatorExtras > Maatouch > MinitouchAndAdbKey > AdbShell
func ParseInputMethod ¶
func ParseInputMethod(s string) (InputMethod, error)
func (InputMethod) String ¶
func (m InputMethod) String() string
type ScreencapMethod ¶
type ScreencapMethod uint64
AdbScreencapMethod
Use bitwise OR to set the method you need, MaaFramework will test their speed and use the fastest one.
func ParseScreencapMethod ¶
func ParseScreencapMethod(s string) (ScreencapMethod, error)
func (ScreencapMethod) String ¶
func (m ScreencapMethod) String() string
Click to show internal directories.
Click to hide internal directories.