C# Class SharpCaster.Controllers.BaseMediaController

Inheritance: BaseController, IMediaController
Show file Open project: tapanila/SharpCaster

Public Methods

Method Description
BaseMediaController ( ChromeCastClient client, string applicationId ) : System.Threading.Tasks
Next ( ) : System.Threading.Tasks.Task
Pause ( ) : System.Threading.Tasks.Task
Play ( ) : System.Threading.Tasks.Task
Previous ( ) : System.Threading.Tasks.Task
Seek ( double seconds ) : System.Threading.Tasks.Task
SetMute ( bool muted ) : System.Threading.Tasks.Task
SetVolume ( double volume ) : System.Threading.Tasks.Task
Stop ( ) : System.Threading.Tasks.Task
VolumeDown ( double amount = 0.05 ) : System.Threading.Tasks.Task
VolumeUp ( double amount = 0.05 ) : System.Threading.Tasks.Task

Method Details

BaseMediaController() public method

public BaseMediaController ( ChromeCastClient client, string applicationId ) : System.Threading.Tasks
client ChromeCastClient
applicationId string
return System.Threading.Tasks

Next() public method

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

Pause() public method

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

Play() public method

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

Previous() public method

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

Seek() public method

public Seek ( double seconds ) : System.Threading.Tasks.Task
seconds double
return System.Threading.Tasks.Task

SetMute() public method

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

SetVolume() public method

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

Stop() public method

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

VolumeDown() public method

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

VolumeUp() public method

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