Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PlayToReceiver.NotifyError | notifyError method

Applies to Windows only

Notifies the Play To receiver that an error has occurred in displaying or playing the media.

Syntax


playToReceiver.notifyError();

Parameters

This method has no parameters.

Remarks

For an example of creating a software Play To receiver, see Quickstart: Creating a Play To Receiver (JavaScript) or Quickstart: Creating a Play To Receiver (C#/VB).


function videoPlayer_Error() {
    receiver.notifyError();
    receiver.notifyStopped();
}

function videoPlayer_Pause () { 
    receiver.notifyPaused(); 
}

function videoPlayer_Playing () { 
    receiver.notifyPlaying(); 
}


Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media.PlayTo
Windows::Media::PlayTo [C++]

Metadata

Windows.winmd

See also

PlayToReceiver
Samples
Play To sample
PlayToReceiver sample
Media Server sample

 

 

Show:
© 2014 Microsoft