Click or drag to resize
CoronaRuntimeLaunchSettings Class
Provides customizable settings that Corona should use on startup, such as directory paths to be used in Lua and the Lua file to be executed on startup.
Inheritance Hierarchy
SystemObject
  CoronaLabs.Corona.WinRTCoronaRuntimeLaunchSettings

Namespace: CoronaLabs.Corona.WinRT
Assembly: CoronaLabs (in CoronaLabs.dll) Version: 255.255.255.255
Syntax
public sealed class CoronaRuntimeLaunchSettings : __ICoronaRuntimeLaunchSettingsPublicNonVirtuals

The CoronaRuntimeLaunchSettings type exposes the following members.

Constructors
  NameDescription
Public methodCoronaRuntimeLaunchSettings
Creates a new settings object initialized to its defaults.
Top
Methods
  NameDescription
Public methodCopyFrom
Copies the given settings to this object.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCachesDirectoryPath

Gets or sets the path Corona will use for its caches directory.

This is the directory that Lua property "system.CachesDirectory" maps to.

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

Public propertyDocumentsDirectoryPath

Gets or sets the path Corona will use for its documents directory.

This is the directory that Lua property "system.DocumentsDirectory" maps to.

Public propertyInternalDirectoryPath

Gets or sets the directory path Corona will use for its internal features, such as analytics.

This directory is not made available in Lua.

Public propertyLaunchFilePath

Gets or set a path to the file that the Corona runtime will begin execution on.

Expected to be set to the path to a "main.lua" or "resource.car" file.

Public propertyResourceDirectoryPath

Gets or sets the path Corona will use for its resource directory.

This is the directory that Lua property "system.ResourceDirectory" maps to.

By default, this is set to the application's read-only ".\Assets\Corona" directory.

The caller can change this to a writable Application Data directory, which is useful if the Corona project files were downloaded.

Public propertyTemporaryDirectoryPath

Gets or sets the path Corona will use for its temporary directory.

This is the directory that Lua property "system.TemporaryDirectory" maps to.

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

Top
See Also