Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
BRUHItsABunny committed Feb 18, 2021
1 parent c032a9b commit 7258944
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions device.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@ package go_android_utils
import "strings"

type Device struct {
AndroidId AndroidID
Locale Locale // en-us
AndroidVersion AndroidVersion // 9 (translates to sdk 28)
Device string // OnePlus5
Manufacturer string // OnePlus
Model string // ONEPLUS A5000
Product string // OnePlus5
Build string // PKQ1.180716.001
Type string // user
Tags string // release-keys
IncrementalVersion string // 2002242003
AndroidId AndroidID
Locale Locale // en-us
AndroidVersion AndroidVersion // 9 (translates to sdk 28)
Device string // OnePlus5
Manufacturer string // OnePlus
Model string // ONEPLUS A5000
Product string // OnePlus5
Build string // PKQ1.180716.001
Type string // user
Tags string // release-keys
IncrementalVersion string // 2002242003
DPI int
ResolutionHorizontal int
ResolutionVertical int
}

func (device *Device) FromFingerprint(fingerprint string) error {
Expand Down

0 comments on commit 7258944

Please sign in to comment.