C# Class SharpCaster.Channels.ReceiverChannel

Inheritance: ChromecastChannel
ファイルを表示 Open project: tapanila/SharpCaster Class Usage Examples

Public Methods

Method Description
ConnectToApplication ( string applicationId ) : Task
DecreaseVolume ( double amount = 0.05 ) : System.Threading.Tasks.Task
GetChromecastStatus ( ) : void
IncreaseVolume ( double amount = 0.05 ) : System.Threading.Tasks.Task
LaunchApplication ( string applicationId, bool joinExisting = true ) : System.Threading.Tasks.Task
ReceiverChannel ( ChromeCastClient client ) : System
SetMute ( bool muted ) : System.Threading.Tasks.Task
SetVolume ( double level ) : System.Threading.Tasks.Task
StopApplication ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
ReceiverChannel_MessageReceived ( object sender, ChromecastSSLClientDataReceivedArgs e ) : void

Method Details

ConnectToApplication() public method

public ConnectToApplication ( string applicationId ) : Task
applicationId string
return Task

DecreaseVolume() public method

public DecreaseVolume ( double amount = 0.05 ) : System.Threading.Tasks.Task
amount double
return System.Threading.Tasks.Task

GetChromecastStatus() public method

public GetChromecastStatus ( ) : void
return void

IncreaseVolume() public method

public IncreaseVolume ( double amount = 0.05 ) : System.Threading.Tasks.Task
amount double
return System.Threading.Tasks.Task

LaunchApplication() public method

public LaunchApplication ( string applicationId, bool joinExisting = true ) : System.Threading.Tasks.Task
applicationId string
joinExisting bool
return System.Threading.Tasks.Task

ReceiverChannel() public method

public ReceiverChannel ( ChromeCastClient client ) : System
client ChromeCastClient
return System

SetMute() public method

public SetMute ( bool muted ) : System.Threading.Tasks.Task
muted bool
return System.Threading.Tasks.Task

SetVolume() public method

public SetVolume ( double level ) : System.Threading.Tasks.Task
level double
return System.Threading.Tasks.Task

StopApplication() public method

public StopApplication ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task