CaveTube.CaveTalk.ViewModel.StartBroadcastViewModel.WaitStream C# (CSharp) Method

WaitStream() private method

private WaitStream ( String streamName ) : void
streamName String
return void
		private void WaitStream(String streamName) {
			this.FrontLayerVisibility = Visibility.Visible;
			client.OnNotifyLiveStart += liveInfo => {
				if (liveInfo.RoomId != streamName) {
					return;
				}

				if (this.OnStreamStart != null) {
					this.OnStreamStart(streamName);
				}
			};
		}