Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Apk ¶
type Apk struct { VName string `xml:"version"` VCode int `xml:"versioncode"` Size int64 `xml:"size"` MinSdk int `xml:"sdkver"` MaxSdk int `xml:"maxsdkver"` ABIs CommaList `xml:"nativecode"` ApkName string `xml:"apkname"` SrcName string `xml:"srcname"` Sig HexVal `xml:"sig"` Added DateVal `xml:"added"` Perms CommaList `xml:"permissions"` Feats CommaList `xml:"features"` Hash HexHash `xml:"hash"` AppID string `xml:"-"` // contains filtered or unexported fields }
Apk is an Android package
func (*Apk) IsCompatibleABI ¶ added in v0.3.0
func (*Apk) IsCompatibleAPILevel ¶ added in v0.3.0
type App ¶
type App struct { ID string `xml:"id"` Name string `xml:"name"` Summary string `xml:"summary"` Added DateVal `xml:"added"` Updated DateVal `xml:"lastupdated"` Icon string `xml:"icon"` Desc string `xml:"desc"` License string `xml:"license"` Categs CommaList `xml:"categories"` Website string `xml:"web"` Source string `xml:"source"` Tracker string `xml:"tracker"` Changelog string `xml:"changelog"` Donate string `xml:"donate"` Bitcoin string `xml:"bitcoin"` Litecoin string `xml:"litecoin"` FlattrID string `xml:"flattr"` Apks []Apk `xml:"package"` CVName string `xml:"marketversion"` CVCode int `xml:"marketvercode"` }
App is an Android application
func (*App) IconURLForDensity ¶ added in v0.2.0
func (a *App) IconURLForDensity(density IconDensity) string
type CommaList ¶ added in v0.2.0
type CommaList []string
func (*CommaList) UnmarshalText ¶ added in v0.2.0
type DateVal ¶ added in v0.2.0
func (*DateVal) UnmarshalText ¶ added in v0.2.0
type IconDensity ¶ added in v0.2.0
type IconDensity uint
const ( UnknownDensity IconDensity = 0 LowDensity IconDensity = 120 MediumDensity IconDensity = 160 HighDensity IconDensity = 240 XHighDensity IconDensity = 320 XXHighDensity IconDensity = 480 XXXHighDensity IconDensity = 640 )
Click to show internal directories.
Click to hide internal directories.