Condividi tramite


PlayToReceiver.NotifyRateChange(Double) Metodo

Definizione

Notifica al ricevitore Play To che la frequenza della riproduzione audio o video è cambiata.

public:
 virtual void NotifyRateChange(double rate) = NotifyRateChange;
void NotifyRateChange(double const& rate);
public void NotifyRateChange(double rate);
function notifyRateChange(rate)
Public Sub NotifyRateChange (rate As Double)

Parametri

rate
Double

double

Nuovo valore della frequenza di riproduzione.

Requisiti Windows

Funzionalità dell'app
privateNetworkClientServer

Commenti

Per un esempio di creazione di un ricevitore Play To software, vedere Cast multimediale.

void VideoPlayer_RateChanged(object sender, RateChangedRoutedEventArgs e)
{
    if (receiver != null)
        receiver.NotifyRateChange(VideoPlayer.PlaybackRate);
}
Sub VideoPlayer_RateChanged()
    If receiver IsNot Nothing Then
        receiver.NotifyRateChange(VideoPlayer.PlaybackRate)
    End If
End Sub

Si applica a

Vedi anche