PlayToReceiver.NotifySeeked Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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