iosutil

package
Version: v0.177.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Major int
	Minor int
}

Version specifies the version of an iOS device.

func ParseVersion

func ParseVersion(v string) (Version, error)

ParseVersion parses the major.minor version for an iOS device.

func (Version) Equal added in v0.174.0

func (v Version) Equal(major, minor int) bool

Equal returns true if the iOS device version is equal to the desired major and minor version, using semantic versioning.

func (Version) EqualOrGreater

func (v Version) EqualOrGreater(major, minor int) bool

EqualOrGreater returns true if the iOS device version is equal or greater to the desired version, using semantic versioning.

type VersionClassification

type VersionClassification int

VersionClassification describes iOS version classifications which are important to Prebid Server.

const (
	VersionUnknown VersionClassification = iota
	Version140
	Version141
	Version142OrGreater
)

Values of VersionClassification.

func DetectVersionClassification

func DetectVersionClassification(v string) VersionClassification

DetectVersionClassification detects the iOS version classification.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL