qnx.events.InvokeEvent

InvokeEvent

Properties | Methods | Constants


Packageqnx.events
Classpublic class InvokeEvent
InheritanceInvokeEvent Inheritance flash.events.Event

The InvokeEvent is dispatched when an application or viewer is invoked.

Class information:
BlackBerry 10 Version:   10.0.0
Found in:  QNXDevice.ane

See also

qnx.invoke.InvokeManager



Public Properties

 PropertyDefined By
  targetKey : String
[read-only] The key for the target.
InvokeEvent
  targetType : String
[read-only] Returns the target type of a invoke request.
InvokeEvent

Public Methods

 MethodDefined By
  
InvokeEvent(type:String, targetType:String = null, targetKey:String = null)
Creates a InvokeEvent instance.
InvokeEvent

Public Constants

 ConstantDefined By
  INVOKE : String = invoke
[static] Dispatched when the application or viewer is successfully invoked.
InvokeEvent
  INVOKE_TARGET : String = invokeTarget
[static] Dispatched when an application successfully invokes another application.
InvokeEvent
  INVOKE_VIEWER : String = invokeViewer
[static] Dispatched when an application successfully invokes viewer.
InvokeEvent

Property Detail

targetKey


targetKey:String  [read-only]

The key for the target.

This is only added to an unbound invoke. Is not-null only when invoke requests do not contain a target.


Implementation

public function get targetKey():String

targetType


targetType:String  [read-only]

Returns the target type of a invoke request.

This is only added to an unbound invoke. See qnx.invoke.InvokeTargetType for a list of valid values.


Implementation

public function get targetType():String

See also

InvokeTargetType

Constructor Detail

InvokeEvent()


public function InvokeEvent(type:String, targetType:String = null, targetKey:String = null)

Creates a InvokeEvent instance.

Parameters

type:String — The event type.
targetType:String (default = null) — The type of target.
targetKey:String (default = null) — The key of the target.

Constant Detail

INVOKE


public static const INVOKE:String = invoke

Dispatched when the application or viewer is successfully invoked.

The InvokeEvent.INVOKE constant defines the value of the type property of the event object for an invoke event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
targetKeyThis property will be null during this event.
targetTypeThis property will be null during this event.
typeInvokeEvent.INVOKE

INVOKE_TARGET


public static const INVOKE_TARGET:String = invokeTarget

Dispatched when an application successfully invokes another application.

This event is dispatched after a call to InvokeManager.invoke().

The InvokeEvent.INVOKE_TARGET constant defines the value of the type property of the event object for an invokeTarget event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
targetKeyThe target key for an unbound invocation.
targetTypeThe target type for an unbound invocation.
typeInvokeEvent.INVOKE_TARGET

INVOKE_VIEWER


public static const INVOKE_VIEWER:String = invokeViewer

Dispatched when an application successfully invokes viewer.

This event is dispatched after a call to InvokeManager.invokeViewer().

The InvokeEvent.INVOKE_VIEWER constant defines the value of the type property of the event object for an invokeViewer event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe object that is actively processing the Event object with an event listener.
targetKeyThe target key for an unbound invocation.
targetTypeThe target type for an unbound invocation.
typeInvokeEvent.INVOKE_VIEWER





comments powered by Disqus