orientation

package
v1.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: BSD-2-Clause Imports: 0 Imported by: 6

Documentation

Overview

Package orientation provides type definitions for use with the Chrome DeviceOrientation protocol

https://chromedevtools.github.io/devtools-protocol/tot/DeviceOrientation/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearOverrideResult

type ClearOverrideResult struct {
	// Error information related to executing this method
	Err error `json:"-"`
}

ClearOverrideResult represents the result of calls to DeviceOrientation.clearOverride.

https://chromedevtools.github.io/devtools-protocol/tot/DeviceOrientation/#method-clearDeviceOrientationOverride

type SetOverrideParams

type SetOverrideParams struct {
	// Mock alpha.
	Alpha int64 `json:"alpha"`

	// Mock beta.
	Beta int64 `json:"beta"`

	// Mock gamma.
	Gamma int64 `json:"gamma"`
}

SetOverrideParams represents DeviceOrientation.setDeviceOrientationOverride parameters.

https://chromedevtools.github.io/devtools-protocol/tot/DeviceOrientation/#method-setDeviceOrientationOverride

type SetOverrideResult

type SetOverrideResult struct {
	// Error information related to executing this method
	Err error `json:"-"`
}

SetOverrideResult represents the result of calls to DeviceOrientation.setOverride.

https://chromedevtools.github.io/devtools-protocol/tot/DeviceOrientation/#method-setDeviceOrientationOverride

Jump to

Keyboard shortcuts

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