package play

import "41.neocities.org/google/play"

Index

Constants

const Leanback = "android.software.leanback"

com.roku.web.trc

Variables

var Abis = []string{

	"x86",
	"x86_64",

	"armeabi-v7a",

	"arm64-v8a",
}

developer.android.com/ndk/guides/abis

var DefaultDevice = Device{
	Feature: []string{

		"android.hardware.location.gps",

		"android.software.midi",

		"android.hardware.camera.front",

		"android.hardware.camera.flash",

		"android.hardware.microphone",

		"android.software.device_admin",

		"android.hardware.touchscreen",
		"android.hardware.wifi",

		"android.hardware.sensor.accelerometer",

		"nrdp.modelgroup",

		"android.hardware.camera",
		"android.hardware.location",
		"android.hardware.screen.portrait",

		"android.hardware.screen.landscape",

		"android.hardware.location.network",

		"android.hardware.nfc",

		"android.hardware.bluetooth",
		"android.hardware.bluetooth_le",
		"android.hardware.camera.autofocus",
		"android.hardware.usb.host",

		"android.hardware.sensor.compass",

		"android.hardware.telephony",
	},
	Library: []string{

		"org.apache.http.legacy",

		"android.test.runner",
	},
	Texture: []string{

		"GL_OES_compressed_ETC1_RGB8_texture",

		"GL_KHR_texture_compression_astc_ldr",
	},
}

Types

type Apk

type Apk [1]protobuf.Message

func (Apk) Field1

func (a Apk) Field1() string

func (Apk) Url

func (a Apk) Url() string

type App

type App struct {
	Id      string
	Version uint64
}

play.google.com/store/apps/details?id=com.google.android.apps.youtube.unplugged

func (*App) Apk

func (a *App) Apk(value string) string

func (*App) Obb

func (a *App) Obb(value uint64) string

type Auth

type Auth [1]Values

func (Auth) Acquire

func (a Auth) Acquire(check Checkin, id string) error

func (Auth) Delivery

func (a Auth) Delivery(
	check Checkin, app1 *App, single bool,
) (*Delivery, error)

func (Auth) Details

func (a Auth) Details(check Checkin, doc string, single bool) (*Details, error)

type Checkin

type Checkin [1]protobuf.Message

func (Checkin) Marshal

func (Checkin) Marshal(device1 *Device) ([]byte, error)

func (*Checkin) Unmarshal

func (c *Checkin) Unmarshal(data []byte) error

type Delivery

type Delivery [1]protobuf.Message

func (Delivery) Apk

func (d Delivery) Apk() func() (Apk, bool)

func (Delivery) Obb

func (d Delivery) Obb() func() (Obb, bool)

func (Delivery) Url

func (d Delivery) Url() string

type Details

type Details [1]protobuf.Message

func (Details) Downloads

func (d Details) Downloads() uint64

func (Details) Name

func (d Details) Name() string

func (Details) String

func (d Details) String() string

type Device

type Device struct {
	Abi     string
	Feature []string
	Library []string
	Texture []string
}

func (*Device) Sync

func (d *Device) Sync(check Checkin) error

type Obb

type Obb [1]protobuf.Message

func (Obb) Field1

func (o Obb) Field1() uint64

func (Obb) Url

func (o Obb) Url() string

type Token

type Token [1]Values

func (Token) Auth

func (t Token) Auth() (*Auth, error)

func (Token) Marshal

func (Token) Marshal(oauth_token string) ([]byte, error)

func (*Token) Unmarshal

func (t *Token) Unmarshal(data []byte) error

type Values

type Values map[string]string

func (Values) Set

func (v Values) Set(data string) error

Source Files

acquire.go auth.go checkin.go delivery.go details.go play.go sync.go

Version
v1.7.1 (latest)
Published
Feb 14, 2025
Platform
linux/amd64
Imports
13 packages
Last checked
1 month ago

Tools for package owners.