PlayToReceiver.NotifySeeked Method

Definition

Notifies the Play To receiver that the audio or video playback element has started at a new playback location.

public:
 virtual void NotifySeeked() = NotifySeeked;
void NotifySeeked();
public void NotifySeeked();
function notifySeeked()
Public Sub NotifySeeked ()

Windows requirements

App capabilities
privateNetworkClientServer

Remarks

For an example of creating a software Play To receiver, see Media casting.

void VideoPlayer_SeekCompleted(object sender, RoutedEventArgs e)
{
    if (receiver != null)
    {
        if (!seeking)
            receiver.NotifySeeking();
        receiver.NotifySeeked();
        seeking = false;
    }
}
Sub VideoPlayer_SeekCompleted()
    If receiver IsNot Nothing Then
        If Not seeking Then
            receiver.NotifySeeking()
            receiver.NotifySeeked()
            seeking = False
        End If
    End If
End Sub

Applies to

See also