The goog.gears.UrlCapture.Event Class

goog.gears.UrlCapture.Event
> goog.events.Event

goog.gears.UrlCapture.Event(type, captureId, opt_uri, opt_errorUris)

An event dispatched by UrlCapture

type {goog.gears.UrlCapture.EventType}
Type of event to dispatch.
captureId {number}
The id of the capture that fired this event.
opt_uri {string|goog.Uri=}
The URI for the event.
opt_errorUris {Array.<string|goog.Uri>=}
The URIs that failed to load correctly.

.captureId {number}

The id of the capture to dispatch the event for. This id is returned from goog.gears.UrlCapture#capture

.defaultPrevented {boolean}

Inherited from goog.events.Event .

Whether the default action has been prevented. This is a property to match the W3C specification at {@link http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented}. Must be treated as read-only outside the class.

.errorUris {Array.<string|goog.Uri>}

A list of all the URIs that failed to load correctly. Valid for COMPLETE event.

.preventDefault()

Inherited from goog.events.Event .

Prevents the default action, for example a link redirecting to a url.

.propagationStopped_ {boolean}

Inherited from goog.events.Event .

Whether to cancel the event in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.returnValue_ {boolean}

Inherited from goog.events.Event .

Return value for in internal capture/bubble processing for IE.

@suppress
{underscore} Technically public, but referencing this outside this package is strongly discouraged.

.stopPropagation()

Inherited from goog.events.Event .

Stops event propagation.

.uri {string|goog.Uri|null}

The URI the event concerns. Valid for URL_SUCCESS and URL_ERROR events.