PlayToReceiver.NotifyRateChange(Double) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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