qnx.events.CardPeekEvent

CardPeekEvent

Properties | Methods | Constants


Packageqnx.events
Classpublic class CardPeekEvent
InheritanceCardPeekEvent Inheritance flash.events.Event

The CardPeekEvent is dispatched by the InvokeManager when an invoked card is peeked.

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



Public Properties

 PropertyDefined By
  peekType : String
[read-only] The type of peek that has occured.
CardPeekEvent

Public Methods

 MethodDefined By
  
CardPeekEvent(type:String, peekType:String = null)
Creates a CardPeekEvent instance.
CardPeekEvent

Public Constants

 ConstantDefined By
  PEEK_BEGIN : String = cardPeekBegin
[static] Dispatched when the card begins a peek gesture.
CardPeekEvent
  PEEK_END : String = cardPeekEnd
[static] Dispatched when the card ends a peek gesture.
CardPeekEvent

Property Detail

peekType


peekType:String  [read-only]

The type of peek that has occured.

Valid values for this property can be found in the CardPeekType class. During a PEEK_END event, this value will be null


Implementation

public function get peekType():String

See also

qnx.invoke.CardPeekType

Constructor Detail

CardPeekEvent()


public function CardPeekEvent(type:String, peekType:String = null)

Creates a CardPeekEvent instance.

Parameters

type:String — The type of the event.
peekType:String (default = null) — The peek type of the event.

Constant Detail

PEEK_BEGIN


public static const PEEK_BEGIN:String = cardPeekBegin

Dispatched when the card begins a peek gesture.

The CardPeekEvent.PEEK_BEGIN constant defines the value of the type property of the event object for an cardPeekBegin 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.
peekTypeThe type of peek that has begun.
typeCardPeekEvent.PEEK_BEGIN

PEEK_END


public static const PEEK_END:String = cardPeekEnd

Dispatched when the card ends a peek gesture.

The CardPeekEvent.PEEK_END constant defines the value of the type property of the event object for an cardPeekEnd 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.
peekTypeThe type of peek that has ended.
typeCardPeekEvent.PEEK_END





comments powered by Disqus