qnx.events.IowWindowSnapshotEvent

IowWindowSnapshotEvent

Properties | Methods | Constants


Packageqnx.events
Classpublic class IowWindowSnapshotEvent
InheritanceIowWindowSnapshotEvent Inheritance flash.events.Event

The IowWindowSnapshotEvent class is used to notify listeners when IowWindow snapshot operations occur.

Class information:
BlackBerry 10 Version:   10.0.0

See also

IowWindow



Public Properties

 PropertyDefined By
  id : String
The ID that is passed to IowWindow.createSnapshot.
IowWindowSnapshotEvent
  image : BitmapData
A snapshot of a window.
IowWindowSnapshotEvent
  window : IowWindow
A snapshot of a window.
IowWindowSnapshotEvent

Public Methods

 MethodDefined By
  
IowWindowSnapshotEvent(type:String, _image:BitmapData, _window:IowWindow, _id:String)
Creates an IowWindowSnapshotEvent instance.
IowWindowSnapshotEvent
  
clone():Event
[override] Creates a copy of the IowWindowSnapshotEvent object and sets the value of each property to match that of the original.
IowWindowSnapshotEvent

Public Constants

 ConstantDefined By
  SNAPSHOT_CREATED : String = snapshotCreated
[static] Dispatched when the snapshot operation completes successfully.
IowWindowSnapshotEvent
  SNAPSHOT_FAILED : String = snapshotFailed
[static] Dispatched when the snapshot operation fails.
IowWindowSnapshotEvent

Property Detail

id


public var id:String

The ID that is passed to IowWindow.createSnapshot.

See also

createSnapshot()

image


public var image:BitmapData

A snapshot of a window.

This is applicable only if the snapshot is to be returned as a bitmap.

See also

createSnapshot()

window


public var window:IowWindow

A snapshot of a window.

This is applicable only if the snapshot is to be returned as a window.

See also

createSnapshot()

Constructor Detail

IowWindowSnapshotEvent()


public function IowWindowSnapshotEvent(type:String, _image:BitmapData, _window:IowWindow, _id:String)

Creates an IowWindowSnapshotEvent instance.

Parameters

type:String — The snapshot type.
_image:BitmapData — The snapshot image data.
_window:IowWindow — The snapshot window object.
_id:String — The ID of the window.

Method Detail

clone()


override public function clone():Event

Creates a copy of the IowWindowSnapshotEvent object and sets the value of each property to match that of the original.

Returns

Event — A new IowWindowSnapshotEvent object with property values that match those of the original.

Constant Detail

SNAPSHOT_CREATED


public static const SNAPSHOT_CREATED:String = snapshotCreated

Dispatched when the snapshot operation completes successfully.

SNAPSHOT_FAILED


public static const SNAPSHOT_FAILED:String = snapshotFailed

Dispatched when the snapshot operation fails.





comments powered by Disqus