Help us shape the future of Go! Take the 2026 Go Developer Survey

deviceorientation

package
v0.159.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 1 Imported by: 3

Documentation

Overview

Package deviceorientation provides the Chrome DevTools Protocol commands, types, and events for the DeviceOrientation domain.

Generated by the pdlgen command.

Index

Constants

View Source
const (
	CommandClearDeviceOrientationOverride = "DeviceOrientation.clearDeviceOrientationOverride"
	CommandSetDeviceOrientationOverride   = "DeviceOrientation.setDeviceOrientationOverride"
)

Command names.

Variables

View Source
var ClearDeviceOrientationOverride = cdp.Command[cdp.Empty, cdp.Empty]{Method: CommandClearDeviceOrientationOverride}

ClearDeviceOrientationOverride clears the overridden Device Orientation.

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

SetDeviceOrientationOverride overrides the Device Orientation.

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

Functions

This section is empty.

Types

type SetDeviceOrientationOverrideParams

type SetDeviceOrientationOverrideParams struct {
	Alpha float64 `json:"alpha"` // Mock alpha
	Beta  float64 `json:"beta"`  // Mock beta
	Gamma float64 `json:"gamma"` // Mock gamma
}

SetDeviceOrientationOverrideParams are the parameters of the command DeviceOrientation.setDeviceOrientationOverride.

Jump to

Keyboard shortcuts

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