func (c *Cast) SetSinkToUse(sinkName string) (*gcdmessage.ChromeResponse, error) {
	var v CastSetSinkToUseParams
	v.SinkName = sinkName
	return c.SetSinkToUseWithParams(&v)
}
SetSinkToUse - Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK.
sinkName -
package gcdapi
import (
	"github.com/wirepair/gcd/gcdmessage"
)
type CastSink struct {
	Name    string `json:"name"`               
	Id      string `json:"id"`                 
	Session string `json:"session,omitempty"`  
}
type CastSinksUpdatedEvent struct {
	Method string `json:"method"`
	Params struct {
		Sinks []*CastSink `json:"sinks"`  
	} `json:"Params,omitempty"`
}
type CastIssueUpdatedEvent struct {
	Method string `json:"method"`
	Params struct {
		IssueMessage string `json:"issueMessage"`  
	} `json:"Params,omitempty"`
}
type Cast struct {
	target gcdmessage.ChromeTargeter
}
func NewCast(target gcdmessage.ChromeTargeter) *Cast {
	c := &Cast{target: target}
	return c
}
type CastEnableParams struct {
	PresentationUrl string `json:"presentationUrl,omitempty"`
}
func (c *Cast) EnableWithParams(v *CastEnableParams) (*gcdmessage.ChromeResponse, error) {
	return gcdmessage.SendDefaultRequest(c.target, c.target.GetSendCh(), &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Cast.enable", Params: v})
}
func (c *Cast) Enable(presentationUrl string) (*gcdmessage.ChromeResponse, error) {
	var v CastEnableParams
	v.PresentationUrl = presentationUrl
	return c.EnableWithParams(&v)
}
func (c *Cast) Disable() (*gcdmessage.ChromeResponse, error) {
	return gcdmessage.SendDefaultRequest(c.target, c.target.GetSendCh(), &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Cast.disable"})
}
type CastSetSinkToUseParams struct {
	SinkName string `json:"sinkName"`
}
func (c *Cast) SetSinkToUseWithParams(v *CastSetSinkToUseParams) (*gcdmessage.ChromeResponse, error) {
	return gcdmessage.SendDefaultRequest(c.target, c.target.GetSendCh(), &gcdmessage.ParamRequest{Id: c.target.GetId(), Method: "Cast.setSinkToUse", Params: v})
}