Moai SDK  1.5 revision 1 (MoaiEdition)
MOAIAppIOS Class Reference

Inherits MOAIGlobalClass< TYPE, SUPER >.

List of all members.

Function List

  getDirectoryInDomain
  getInterfaceOrientation
  getUTCTime
  sendMail
  takeCamera

Function Documentation

Search the platform's internal directory structure for a special directory as defined by the platform.


function getDirectoryInDomain ( string domain )
Parameters:
domain ( string ) The domain to search.
Returns:
directory ( string )

Get the current orientation of the user interface.


function getInterfaceOrientation ( nil )
Parameters:
( nil )
Returns:
Interface ( number )

Get the current UTC time in seconds.


function getUTCTime ( nil )
Parameters:
( nil )
Returns:
UTC ( num )

Send a mail with the passed in default values.


function sendMail ( string recipient, string subject, string message )
Parameters:
recipient ( string )
subject ( string )
message ( string )
Returns:
nil

Allows to pick a photo from the CameraRoll or from the Camera.


function _takeCamera ( function callback, NSUInteger input, int if, int if, int if, int if )
Parameters:
callback ( function )
input ( NSUInteger ) camera source
if ( int ) device is an ipad x coordinate of Popover
if ( int ) device is an ipad y coordinate of Popover
if ( int ) device is an ipad width coordinate of Popover
if ( int ) device is an ipad height coordinate of Popover
Returns: