C# 클래스 SharpCaster.Channels.MediaChannel

상속: ChromecastChannel
파일 보기 프로젝트 열기: tapanila/SharpCaster 1 사용 예제들

공개 메소드들

메소드 설명
GetMediaStatus ( ) : System.Threading.Tasks.Task
LoadMedia ( string mediaUrl, string contentType = "application/vnd.ms-sstr+xml", IMetadata metadata = null, string streamType = "BUFFERED", double duration = 0D, object customData = null, Track tracks = null, int activeTrackIds = null, bool autoPlay = true, double currentTime = 0.0 ) : System.Threading.Tasks.Task
MediaChannel ( ChromeCastClient client ) : System.Linq
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
Stop ( ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
OnMessageReceived ( object sender, ChromecastSSLClientDataReceivedArgs chromecastSSLClientDataReceivedArgs ) : void

메소드 상세

GetMediaStatus() 공개 메소드

public GetMediaStatus ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

LoadMedia() 공개 메소드

public LoadMedia ( string mediaUrl, string contentType = "application/vnd.ms-sstr+xml", IMetadata metadata = null, string streamType = "BUFFERED", double duration = 0D, object customData = null, Track tracks = null, int activeTrackIds = null, bool autoPlay = true, double currentTime = 0.0 ) : System.Threading.Tasks.Task
mediaUrl string
contentType string
metadata IMetadata
streamType string
duration double
customData object
tracks SharpCaster.Models.MediaStatus.Track
activeTrackIds int
autoPlay bool
currentTime double
리턴 System.Threading.Tasks.Task

MediaChannel() 공개 메소드

public MediaChannel ( ChromeCastClient client ) : System.Linq
client ChromeCastClient
리턴 System.Linq

Next() 공개 메소드

public Next ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Pause() 공개 메소드

public Pause ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Play() 공개 메소드

public Play ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Previous() 공개 메소드

public Previous ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Seek() 공개 메소드

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

Stop() 공개 메소드

public Stop ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task