Kofax Mobile SDK API Reference
Public Member Functions | List of all members
LevelnessEvent Class Reference

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

Inheritance diagram for LevelnessEvent:

Public Member Functions

 LevelnessEvent (Object source, int pitch, int roll)
 
int getPitch ()
 Returns in degrees the current pitch of the phone. More...
 
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

LevelnessEvent ( Object  source,
int  pitch,
int  roll 
)

Member Function Documentation

int getPitch ( )

Returns in degrees the current pitch of the phone.

int getRoll ( )

Returns in degrees the current roll of the phone.


The documentation for this class was generated from the following file:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.