package deviceorientation
Import Path
github.com/chromedp/cdproto/deviceorientation (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
Package deviceorientation provides the Chrome DevTools Protocol
commands, types, and events for the DeviceOrientation domain.
Generated by the cdproto-gen command.
easyjson.go
Package-Level Type Names (total 2)
ClearDeviceOrientationOverrideParams clears the overridden Device
Orientation.
Do executes DeviceOrientation.clearDeviceOrientationOverride against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.Action
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.CallAction
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.EmulateAction
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.EvaluateAction
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.KeyAction
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.MouseAction
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.NavigateAction
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.PollAction
*ClearDeviceOrientationOverrideParams : github.com/chromedp/chromedp.QueryAction
ClearDeviceOrientationOverrideParams : github.com/goccy/go-json.Marshaler
*ClearDeviceOrientationOverrideParams : github.com/goccy/go-json.Unmarshaler
ClearDeviceOrientationOverrideParams : github.com/mailru/easyjson.Marshaler
*ClearDeviceOrientationOverrideParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ClearDeviceOrientationOverrideParams : github.com/mailru/easyjson.Unmarshaler
ClearDeviceOrientationOverrideParams : encoding/json.Marshaler
*ClearDeviceOrientationOverrideParams : encoding/json.Unmarshaler
func ClearDeviceOrientationOverride() *ClearDeviceOrientationOverrideParams
SetDeviceOrientationOverrideParams overrides the Device Orientation.
// Mock alpha
// Mock beta
// Mock gamma
Do executes DeviceOrientation.setDeviceOrientationOverride against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.Action
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.CallAction
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.EmulateAction
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.EvaluateAction
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.KeyAction
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.MouseAction
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.NavigateAction
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.PollAction
*SetDeviceOrientationOverrideParams : github.com/chromedp/chromedp.QueryAction
SetDeviceOrientationOverrideParams : github.com/goccy/go-json.Marshaler
*SetDeviceOrientationOverrideParams : github.com/goccy/go-json.Unmarshaler
SetDeviceOrientationOverrideParams : github.com/mailru/easyjson.Marshaler
*SetDeviceOrientationOverrideParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SetDeviceOrientationOverrideParams : github.com/mailru/easyjson.Unmarshaler
SetDeviceOrientationOverrideParams : encoding/json.Marshaler
*SetDeviceOrientationOverrideParams : encoding/json.Unmarshaler
func SetDeviceOrientationOverride(alpha float64, beta float64, gamma float64) *SetDeviceOrientationOverrideParams
Package-Level Functions (total 2)
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
parameters:
alpha - Mock alpha
beta - Mock beta
gamma - Mock gamma
Package-Level Constants (total 2)
Command names.
Command names.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |