Packageqnx.events
Classpublic class UnsupportedMimeTypeEvent
InheritanceUnsupportedMimeTypeEvent Inheritance flash.events.Event

A QNXStageWebView object dispatches an UnsupportedMimeTypeEvent object when an unknown protocol has been requested that could not be handled by networking. The url property of the event indicates the target URL.

There is only one type of UnsupportedMimeTypeEvent:

See also

QNXStageWebView


Public Properties
 PropertyDefined By
  url : String
Returns the URL containing the unknown object.
UnsupportedMimeTypeEvent
Public Methods
 MethodDefined By
  
UnsupportedMimeTypeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, url:String = null)
Creates a JavaScriptCallbackEvent object.
UnsupportedMimeTypeEvent
  
clone():Event
[override] Duplicates an instance of an Event subclass.
UnsupportedMimeTypeEvent
  
toString():String
[override] Returns a String that contains all of the properties of the UnsupportedMimeTypeEvent object.
UnsupportedMimeTypeEvent
Public Constants
 ConstantDefined By
  UNSUPPORTED_MIME_TYPE : String = unsupportedMimeType
[static] Dispatched when an unknown protocol has been requested that could not be handled by the browser.
UnsupportedMimeTypeEvent
Property Detail
urlproperty
url:String

Returns the URL containing the unknown object.


Implementation
    public function get url():String
    public function set url(value:String):void
Constructor Detail
UnsupportedMimeTypeEvent()Constructor
public function UnsupportedMimeTypeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, url:String = null)

Creates a JavaScriptCallbackEvent object.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
url:String (default = null)
Method Detail
clone()method
override public function clone():Event

Duplicates an instance of an Event subclass.

Returns a new Event object that is a copy of the original instance of the Event object. You do not normally call clone(); the EventDispatcher class calls it automatically when you redispatch an event—that is, when you call dispatchEvent(event) from a handler that is handling event.

The new Event object includes all the properties of the original.

When creating your own custom Event class, you must override the inherited Event.clone() method in order for it to duplicate the properties of your custom class. If you do not set all the properties that you add in your event subclass, those properties will not have the correct values when listeners handle the redispatched event.

Returns
Event
toString()method 
override public function toString():String

Returns a String that contains all of the properties of the UnsupportedMimeTypeEvent object.

The String is in the following format:

[UnsupportedMimeTypeEvent type=value bubbles=value cancelable=value eventPhase=value url=value

Returns
String
Constant Detail
UNSUPPORTED_MIME_TYPEConstant
public static const UNSUPPORTED_MIME_TYPE:String = unsupportedMimeType

Dispatched when an unknown protocol has been requested that could not be handled by the browser.