Documentation ¶
Index ¶
Constants ¶
View Source
const Sleep = 4 * time.Second
Variables ¶
View Source
var LogLevel format.LogLevel
View Source
var Phone = Config{ DeviceFeature: []string{ "android.hardware.location.gps", "android.software.midi", "android.hardware.camera.front", "android.hardware.microphone", "android.software.device_admin", "android.hardware.touchscreen", "android.hardware.wifi", "android.hardware.sensor.gyroscope", "android.hardware.sensor.accelerometer", "android.hardware.opengles.aep", "android.hardware.camera", "android.hardware.location", "android.hardware.screen.portrait", "android.hardware.location.network", "android.hardware.bluetooth", "android.hardware.bluetooth_le", "android.hardware.camera.autofocus", "android.hardware.usb.host", "android.hardware.sensor.compass", "android.hardware.telephony", "android.hardware.screen.landscape", }, SystemSharedLibrary: []string{ "org.apache.http.legacy", "android.test.runner", "global-miui11-empty.jar", }, GlEsVersion: 0x9_9999, GlExtension: []string{ "GL_OES_compressed_ETC1_RGB8_texture", "GL_KHR_texture_compression_astc_ldr", }, TouchScreen: 3, }
View Source
var Platforms = NativePlatform{
0: "x86",
1: "armeabi-v7a",
2: "arm64-v8a",
}
Functions ¶
This section is empty.
Types ¶
type AppFileMetadata ¶ added in v1.9.4
type Config ¶ added in v1.2.1
type Config struct { DeviceFeature []string GlEsVersion uint64 GlExtension []string HasHardKeyboard uint64 Keyboard uint64 ScreenDensity uint64 ScreenLayout uint64 TouchScreen uint64 }
These can use default values, but they must all be included
type Delivery ¶ added in v1.1.9
type Delivery struct { DownloadURL string PackageName string SplitDeliveryData []SplitDeliveryData VersionCode uint64 AdditionalFile []AppFileMetadata }
func (Delivery) Additional ¶ added in v1.9.4
type Details ¶ added in v1.0.1
type Device ¶ added in v1.0.6
type Device struct {
AndroidID uint64
}
func OpenDevice ¶ added in v1.5.6
type Header ¶ added in v1.6.8
type Header struct { Auth string // Authorization SDK int64 // User-Agent VersionCode int64 // User-Agent AndroidID uint64 // X-DFE-Device-ID }
type NativePlatform ¶ added in v1.9.4
func (NativePlatform) String ¶ added in v1.9.4
func (n NativePlatform) String() string
type SplitDeliveryData ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.