Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkin ¶ added in v1.0.6
type Checkin struct {
Checkin struct{} `json:"checkin"`
Version int `json:"version"`
}
func NewCheckin ¶ added in v1.0.6
func NewCheckin() Checkin
func (Checkin) Post ¶ added in v1.0.7
func (c Checkin) Post() (*CheckinResponse, error)
type CheckinResponse ¶ added in v1.0.7
type CheckinResponse struct {
Android_ID int64
}
func (CheckinResponse) String ¶ added in v1.0.7
func (c CheckinResponse) String() string
type Device ¶ added in v1.0.6
type Device struct {
Configuration struct {
GlEsVersion int32 `protobuf:"varint,8"`
HasFiveWayNavigation bool `protobuf:"varint,6"`
HasHardKeyboard bool `protobuf:"varint,5"`
Keyboard int32 `protobuf:"varint,2"`
NativePlatform []string `protobuf:"bytes,11"`
Navigation int32 `protobuf:"varint,3"`
ScreenDensity int32 `protobuf:"varint,7"`
ScreenLayout int32 `protobuf:"varint,4"`
SystemAvailableFeature []string `protobuf:"bytes,10"`
TouchScreen int32 `protobuf:"varint,1"`
} `protobuf:"bytes,1"`
}
func (Device) Upload ¶ added in v1.0.6
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.
Click to show internal directories.
Click to hide internal directories.