deviceinfo

package
v0.0.0-...-2b8ec9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplicationID

func ApplicationID(deviceInfo map[string]interface{}) string

func ApplicationName

func ApplicationName(deviceInfo map[string]interface{}) string

func DeviceModel

func DeviceModel(deviceInfo map[string]interface{}) string

func DeviceModelCodename

func DeviceModelCodename(deviceInfo map[string]interface{}) string

func DeviceName

func DeviceName(deviceInfo map[string]interface{}) string

func ProbablySame

func ProbablySame(a map[string]interface{}, b map[string]interface{}) bool

Types

type Platform

type Platform string
const (
	PlatformUnknown Platform = ""
	PlatformIOS     Platform = "ios"
	PlatformAndroid Platform = "android"
)

func DevicePlatform

func DevicePlatform(deviceInfo map[string]interface{}) Platform

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL