Documentation ¶
Overview ¶
Package deviceorientation provides the Chrome Debugging Protocol commands, types, and events for the DeviceOrientation domain.
Generated by the chromedp-gen command.
Index ¶
- type ClearDeviceOrientationOverrideParams
- func (p *ClearDeviceOrientationOverrideParams) Do(ctxt context.Context, h cdp.Handler) (err error)
- func (v ClearDeviceOrientationOverrideParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v ClearDeviceOrientationOverrideParams) MarshalJSON() ([]byte, error)
- func (v *ClearDeviceOrientationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ClearDeviceOrientationOverrideParams) UnmarshalJSON(data []byte) error
- type SetDeviceOrientationOverrideParams
- func (p *SetDeviceOrientationOverrideParams) Do(ctxt context.Context, h cdp.Handler) (err error)
- func (v SetDeviceOrientationOverrideParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetDeviceOrientationOverrideParams) MarshalJSON() ([]byte, error)
- func (v *SetDeviceOrientationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetDeviceOrientationOverrideParams) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClearDeviceOrientationOverrideParams ¶
type ClearDeviceOrientationOverrideParams struct{}
ClearDeviceOrientationOverrideParams clears the overridden Device Orientation.
func ClearDeviceOrientationOverride ¶
func ClearDeviceOrientationOverride() *ClearDeviceOrientationOverrideParams
ClearDeviceOrientationOverride clears the overridden Device Orientation.
func (*ClearDeviceOrientationOverrideParams) Do ¶
Do executes DeviceOrientation.clearDeviceOrientationOverride against the provided context and target handler.
func (ClearDeviceOrientationOverrideParams) MarshalEasyJSON ¶
func (v ClearDeviceOrientationOverrideParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ClearDeviceOrientationOverrideParams) MarshalJSON ¶
func (v ClearDeviceOrientationOverrideParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ClearDeviceOrientationOverrideParams) UnmarshalEasyJSON ¶
func (v *ClearDeviceOrientationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ClearDeviceOrientationOverrideParams) UnmarshalJSON ¶
func (v *ClearDeviceOrientationOverrideParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SetDeviceOrientationOverrideParams ¶
type SetDeviceOrientationOverrideParams struct { Alpha float64 `json:"alpha"` // Mock alpha Beta float64 `json:"beta"` // Mock beta Gamma float64 `json:"gamma"` // Mock gamma }
SetDeviceOrientationOverrideParams overrides the Device Orientation.
func SetDeviceOrientationOverride ¶
func SetDeviceOrientationOverride(alpha float64, beta float64, gamma float64) *SetDeviceOrientationOverrideParams
SetDeviceOrientationOverride overrides the Device Orientation.
parameters:
alpha - Mock alpha beta - Mock beta gamma - Mock gamma
func (*SetDeviceOrientationOverrideParams) Do ¶
Do executes DeviceOrientation.setDeviceOrientationOverride against the provided context and target handler.
func (SetDeviceOrientationOverrideParams) MarshalEasyJSON ¶
func (v SetDeviceOrientationOverrideParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SetDeviceOrientationOverrideParams) MarshalJSON ¶
func (v SetDeviceOrientationOverrideParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SetDeviceOrientationOverrideParams) UnmarshalEasyJSON ¶
func (v *SetDeviceOrientationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SetDeviceOrientationOverrideParams) UnmarshalJSON ¶
func (v *SetDeviceOrientationOverrideParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface