C# Class SharpCaster.Simple.MainPageViewModel

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

Public Methods

Method Description
LoadMedia ( string title, string description, ImageSource poster ) : System.Threading.Tasks.Task
MainPageViewModel ( ) : System
MuteUnmute ( ) : System.Threading.Tasks.Task
Pause ( ) : System.Threading.Tasks.Task
PlayPause ( ) : System.Threading.Tasks.Task
Seek ( double seconds ) : System.Threading.Tasks.Task
SetVolume ( double newValue ) : System.Threading.Tasks.Task
StopApplication ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
ChromeCastClient_Connected ( object sender, EventArgs e ) : void
ChromeCastClient_MediaStatusChanged ( object sender, MediaStatus e ) : void
Client_ApplicationStarted ( object sender, Models e ) : void
ExecuteOnUiThread ( DispatchedHandler yourAction ) : System.Threading.Tasks.Task
LoadChromecasts ( ) : void
OnPropertyChanged ( [ propertyName = null ) : void
SecondsTimer_Tick ( object sender, object e ) : void
ShowMessage ( string message ) : System.Threading.Tasks.Task
_client_VolumeChanged ( object sender, Volume e ) : void

Method Details

LoadMedia() public method

public LoadMedia ( string title, string description, ImageSource poster ) : System.Threading.Tasks.Task
title string
description string
poster ImageSource
return System.Threading.Tasks.Task

MainPageViewModel() public method

public MainPageViewModel ( ) : System
return System

MuteUnmute() public method

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

Pause() public method

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

PlayPause() public method

public PlayPause ( ) : 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

SetVolume() public method

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

StopApplication() public method

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