Documentation ¶
Index ¶
- Constants
- type AppDeliveryData
- type AppDetails
- type Auth
- type Config
- type DeliveryResponse
- type Details
- type DetailsResponse
- type Device
- type DeviceConfiguration
- func (d DeviceConfiguration) SetGLESversion(v uint64) bool
- func (d DeviceConfiguration) SetGLextension(v []string) bool
- func (d DeviceConfiguration) SetHasFiveWayNavigation(v uint64) bool
- func (d DeviceConfiguration) SetHasHardKeyboard(v uint64) bool
- func (d DeviceConfiguration) SetKeyboard(v uint64) bool
- func (d DeviceConfiguration) SetNativePlatform(v []string) bool
- func (d DeviceConfiguration) SetNavigation(v uint64) bool
- func (d DeviceConfiguration) SetScreenDensity(v uint64) bool
- func (d DeviceConfiguration) SetScreenLayout(v uint64) bool
- func (d DeviceConfiguration) SetSystemAvailableFeature(v []string) bool
- func (d DeviceConfiguration) SetTouchScreen(v uint64) bool
- type DocV2
- type Offer
- type SplitDeliveryData
- type Token
Constants ¶
View Source
const (
Sleep = 16 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppDeliveryData ¶ added in v1.3.8
func (AppDeliveryData) DownloadURL ¶ added in v1.3.8
func (a AppDeliveryData) DownloadURL() string
func (AppDeliveryData) SplitDeliveryData ¶ added in v1.3.8
func (a AppDeliveryData) SplitDeliveryData() []SplitDeliveryData
type AppDetails ¶ added in v1.1.4
func (AppDetails) VersionCode ¶ added in v1.1.4
func (a AppDetails) VersionCode() uint64
type Auth ¶ added in v1.0.4
func (Auth) DeliveryResponse ¶ added in v1.3.8
func (Auth) DetailsResponse ¶ added in v1.3.8
func (a Auth) DetailsResponse(dev *Device, app string) (*DetailsResponse, error)
func (Auth) Upload ¶ added in v1.1.3
This seems to return `StatusOK`, even with invalid requests, and the response body only contains a token, that doesnt seem to indicate success or failure. Only way I know to check, it to try the `deviceID` with a `details` request or similar. Also, after the POST, you need to wait at least 16 seconds before the `deviceID` can be used.
type Config ¶ added in v1.2.1
func (Config) SetDeviceConfiguration ¶ added in v1.3.8
func (c Config) SetDeviceConfiguration(v DeviceConfiguration) bool
type DeliveryResponse ¶ added in v1.3.8
func (DeliveryResponse) AppDeliveryData ¶ added in v1.3.8
func (d DeliveryResponse) AppDeliveryData() AppDeliveryData
func (DeliveryResponse) Status ¶ added in v1.3.8
func (d DeliveryResponse) Status() uint64
type Details ¶ added in v1.0.1
func (Details) AppDetails ¶ added in v1.3.8
func (d Details) AppDetails() AppDetails
type DetailsResponse ¶ added in v1.3.8
func (DetailsResponse) DocV2 ¶ added in v1.3.8
func (d DetailsResponse) DocV2() DocV2
type Device ¶ added in v1.0.6
type Device struct {
Android_ID int64
}
type DeviceConfiguration ¶ added in v1.2.1
func NewDeviceConfiguration ¶ added in v1.3.8
func NewDeviceConfiguration() DeviceConfiguration
func (DeviceConfiguration) SetGLESversion ¶ added in v1.3.8
func (d DeviceConfiguration) SetGLESversion(v uint64) bool
func (DeviceConfiguration) SetGLextension ¶ added in v1.3.8
func (d DeviceConfiguration) SetGLextension(v []string) bool
func (DeviceConfiguration) SetHasFiveWayNavigation ¶ added in v1.3.8
func (d DeviceConfiguration) SetHasFiveWayNavigation(v uint64) bool
func (DeviceConfiguration) SetHasHardKeyboard ¶ added in v1.3.8
func (d DeviceConfiguration) SetHasHardKeyboard(v uint64) bool
func (DeviceConfiguration) SetKeyboard ¶ added in v1.3.8
func (d DeviceConfiguration) SetKeyboard(v uint64) bool
func (DeviceConfiguration) SetNativePlatform ¶ added in v1.3.8
func (d DeviceConfiguration) SetNativePlatform(v []string) bool
func (DeviceConfiguration) SetNavigation ¶ added in v1.3.8
func (d DeviceConfiguration) SetNavigation(v uint64) bool
func (DeviceConfiguration) SetScreenDensity ¶ added in v1.3.8
func (d DeviceConfiguration) SetScreenDensity(v uint64) bool
func (DeviceConfiguration) SetScreenLayout ¶ added in v1.3.8
func (d DeviceConfiguration) SetScreenLayout(v uint64) bool
func (DeviceConfiguration) SetSystemAvailableFeature ¶ added in v1.3.8
func (d DeviceConfiguration) SetSystemAvailableFeature(v []string) bool
func (DeviceConfiguration) SetTouchScreen ¶ added in v1.3.8
func (d DeviceConfiguration) SetTouchScreen(v uint64) bool
type Offer ¶ added in v1.3.9
func (Offer) FormattedAmount ¶ added in v1.3.9
type SplitDeliveryData ¶ added in v1.3.0
func (SplitDeliveryData) DownloadURL ¶ added in v1.3.0
func (s SplitDeliveryData) DownloadURL() string
func (SplitDeliveryData) ID ¶ added in v1.3.8
func (s SplitDeliveryData) ID() string
Click to show internal directories.
Click to hide internal directories.