Atalasoft MobileImage API Reference
Public Member Functions | List of all members
com.kofax.kmc.kui.uicontrols.LevelnessEvent Class Reference

This event fires when the orientation of the device changes. More...

Inheritance diagram for com.kofax.kmc.kui.uicontrols.LevelnessEvent:

Public Member Functions

 LevelnessEvent (Object source, int pitch, int roll)
 
final int getPitch ()
 Returns in degrees the current pitch of the phone. More...
 
final int getRoll ()
 Returns in degrees the current roll of the phone. More...
 

Detailed Description

This event fires when the orientation of the device changes.

This event fires when the orientation of the device changes. It contains two properties, pitch and roll, which represent the orientation of the phone along the y-axis and x-axis respectively. These properties are returned in degrees.

Constructor & Destructor Documentation

com.kofax.kmc.kui.uicontrols.LevelnessEvent.LevelnessEvent ( Object  source,
int  pitch,
int  roll 
)
inline

Member Function Documentation

final int com.kofax.kmc.kui.uicontrols.LevelnessEvent.getPitch ( )
inline

Returns in degrees the current pitch of the phone.

final int com.kofax.kmc.kui.uicontrols.LevelnessEvent.getRoll ( )
inline

Returns in degrees the current roll of the phone.


The documentation for this class was generated from the following file:
Untitled Document © 2016 Atalasoft, Inc., 116 Pleasant St, Suite 321, Easthampton, MA 01027, U.S.A. All rights reserved. Use is subject to license terms.