func (c *DeviceOrientation) SetDeviceOrientationOverrideWithParams(ctx context.Context, v *DeviceOrientationSetDeviceOrientationOverrideParams) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "DeviceOrientation.setDeviceOrientationOverride", Params: v})
}
SetDeviceOrientationOverrideWithParams - Overrides the Device Orientation.
package gcdapi
import (
	"context"
	"github.com/wirepair/gcd/v2/gcdmessage"
)
type DeviceOrientation struct {
	target gcdmessage.ChromeTargeter
}
func NewDeviceOrientation(target gcdmessage.ChromeTargeter) *DeviceOrientation {
	c := &DeviceOrientation{target: target}
	return c
}
func (c *DeviceOrientation) ClearDeviceOrientationOverride(ctx context.Context) (*gcdmessage.ChromeResponse, error) {
	return c.target.SendDefaultRequest(ctx, &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "DeviceOrientation.clearDeviceOrientationOverride"})
}
type DeviceOrientationSetDeviceOrientationOverrideParams struct {
	Alpha float64 `json:"alpha"`
	Beta float64 `json:"beta"`
	Gamma float64 `json:"gamma"`
}