JavaScript is disabled on your browser.
JavaScript is disabled on your browser.
Method Detail
copyFor
public MediaErrorEvent copyFor(Object newSource,
EventTarget newTarget)
Description copied from class: Event
Creates and returns a copy of this event with the specified event source
and target. If the source or target is set to null
, it is
replaced by the NULL_SOURCE_TARGET
value.
Overrides:
copyFor
in class Event
Parameters:
newSource
- the new source of the copied event
newTarget
- the new target of the copied event
Returns:
the event copy with the new source and target
getEventType
public EventType <MediaErrorEvent > getEventType()
Description copied from class: Event
Gets the event type of this event. Objects of the same Event
class can have different event types. These event types further specify
what kind of event occurred.
Overrides:
getEventType
in class Event
Returns:
the event type
JavaScript is disabled on your browser.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy .
Scripting on this page tracks web page traffic, but does not change the content in any way.