Click or drag to resize
CoronaRuntimeEnvironment Properties

The CoronaRuntimeEnvironment type exposes the following members.

Properties
  NameDescription
Public propertyCachesDirectoryPath

Gets the path that Corona's "system.CachesDirectory" property maps to in Lua.

This directory's files will be automatically deleted if the system is running low on storage space.

Public propertyCoronaControlAdapter
Gets the control that hosts the rendering surface and child controls created via Lua's native APIs.
Public propertyStatic memberDefaultCachesDirectoryPath

Gets the default path that Corona will use for the "system.CachesDirectory" property in Lua.

This directory's files will be automatically deleted if the system is running low on storage space.

Public propertyStatic memberDefaultDocumentsDirectoryPath
Gets the default path that Corona will use for the "system.DocumentsDirectory" property in Lua.
Public propertyStatic memberDefaultInternalDirectoryPath

Gets the default path that Corona will use to store files for its internal features, such as analytics.

This directory is not made available in Lua.

Public propertyStatic memberDefaultResourceDirectoryPath
Gets the default path that Corona will use for the "system.ResourceDirectory" property in Lua.
Public propertyStatic memberDefaultTemporaryDirectoryPath

Gets the default path that Corona will use for the "system.TemporaryDirectory" property in Lua.

This directory's files will be automatically deleted if the system is running low on storage space.

Public propertyDocumentsDirectoryPath
Gets the path that Corona's "system.DocumentsDirectory" property maps to in Lua.
Public propertyInternalDirectoryPath

Gets the directory path that Corona uses to store files for its internal features, such as analytics.

This directory is not made available in Lua.

Public propertyInteropServices

Provides cross-platform and cross-language access to features to the C/C++ side of Corona.

This property is not intended for public use.

Public propertyLaunchFilePath

Gets the path to the file that the Corona runtime began execution on.

Typically set to a "resource.car" "main.lua" or "resource.car" file.

Public propertyResourceDirectoryPath
Gets the path that Corona's "system.ResourceDirectory" property maps to in Lua.
Public propertyRuntimeState
Gets the current state of the Corona runtime such as Running, Suspended, Terminated, etc.
Public propertyTemporaryDirectoryPath

Gets the path that Corona's "system.TemporaryDirectory" property maps to in Lua.

This directory's files will be automatically deleted if the system is running low on storage space.

Top
See Also