Documentation
¶
Index ¶
Constants ¶
View Source
const ( DateInput = "Jan 2, 2006" DateOutput = "2006-01-02" )
View Source
const Sleep = 4 * time.Second
Variables ¶
View Source
var Agents = UserAgent{
0: 9999_9999,
1: 8091_9999,
}
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 Varint
GlExtension []String
HasHardKeyboard Varint
Keyboard Varint
ScreenDensity Varint
ScreenLayout Varint
TouchScreen Varint
}
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 Fixed64
}
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
type Token ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.