PlayToReceiver.NotifySeeking 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 is seeking a new playback location.
public:
virtual void NotifySeeking() = NotifySeeking;
void NotifySeeking();
public void NotifySeeking();
function notifySeeking()
Public Sub NotifySeeking ()
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