# Application

> Provides access to application runtime data.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public class Application
```

## Remarks

This class contains static methods for looking up information about and controlling the runtime data.

## Static Properties

| Property                                                                                                          | Description                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| [absoluteURL](/engine/6000.5/script-reference/unityengine/application/absoluteurl.md)                             | The URL of the document. For WebGL, this is a web URL. For Android, iOS, or Universal Windows Platform (UWP) this is a deep link URL (Read Only). |
| [backgroundLoadingPriority](/engine/6000.5/script-reference/unityengine/application/backgroundloadingpriority.md) | Priority of background loading thread.                                                                                                            |
| [buildGUID](/engine/6000.5/script-reference/unityengine/application/buildguid.md)                                 | Returns a GUID for this build (Read Only).                                                                                                        |
| [cloudProjectId](/engine/6000.5/script-reference/unityengine/application/cloudprojectid.md)                       | A unique cloud project identifier. It is unique for every project (Read Only).                                                                    |
| [companyName](/engine/6000.5/script-reference/unityengine/application/companyname.md)                             | Returns application company name (Read Only).                                                                                                     |
| [consoleLogPath](/engine/6000.5/script-reference/unityengine/application/consolelogpath.md)                       | Returns the path to the console log file, or an empty string if the current platform does not support log files.                                  |
| [dataPath](/engine/6000.5/script-reference/unityengine/application/datapath.md)                                   | Contains the path to the game data folder on the target device (Read Only).                                                                       |
| [exitCancellationToken](/engine/6000.5/script-reference/unityengine/application/exitcancellationtoken.md)         | Cancellation token raised on exiting Play mode (Editor) or on quitting the application (Read Only).                                               |
| [genuine](/engine/6000.5/script-reference/unityengine/application/genuine.md)                                     | Returns false if application is altered in any way after it was built.                                                                            |
| [genuineCheckAvailable](/engine/6000.5/script-reference/unityengine/application/genuinecheckavailable.md)         | Returns true if application integrity can be confirmed.                                                                                           |
| [identifier](/engine/6000.5/script-reference/unityengine/application/identifier.md)                               | Returns the application identifier at runtime.                                                                                                    |
| [installerName](/engine/6000.5/script-reference/unityengine/application/installername.md)                         | Returns the name of the store or package that installed the application (Read Only).                                                              |
| [installMode](/engine/6000.5/script-reference/unityengine/application/installmode.md)                             | Returns application install mode (Read Only).                                                                                                     |
| [internetReachability](/engine/6000.5/script-reference/unityengine/application/internetreachability.md)           | Returns the type of internet reachability currently possible on the device.                                                                       |
| [isBatchMode](/engine/6000.5/script-reference/unityengine/application/isbatchmode.md)                             | Returns true when Unity is launched with the **-batchmode** flag from the command line (Read Only).                                               |
| [isConsolePlatform](/engine/6000.5/script-reference/unityengine/application/isconsoleplatform.md)                 | Is the current Runtime platform a known console platform.                                                                                         |
| [isEditor](/engine/6000.5/script-reference/unityengine/application/iseditor.md)                                   | Whether the game is running inside the Unity Editor (Read Only).                                                                                  |
| [isFocused](/engine/6000.5/script-reference/unityengine/application/isfocused.md)                                 | Whether the Player currently has focus (Read Only).                                                                                               |
| [isMobilePlatform](/engine/6000.5/script-reference/unityengine/application/ismobileplatform.md)                   | Identifies whether the current Runtime platform is a known mobile platform.                                                                       |
| [isPlaying](/engine/6000.5/script-reference/unityengine/application/isplaying-1.md)                               | Returns true when called in any kind of built Player, or when called in the Editor in Play mode (Read Only).                                      |
| [persistentDataPath](/engine/6000.5/script-reference/unityengine/application/persistentdatapath.md)               | Contains the path to a persistent data directory (Read-only).                                                                                     |
| [platform](/engine/6000.5/script-reference/unityengine/application/platform.md)                                   | Returns the platform the game is running on (Read Only).                                                                                          |
| [productName](/engine/6000.5/script-reference/unityengine/application/productname.md)                             | Returns application product name (Read Only).                                                                                                     |
| [runInBackground](/engine/6000.5/script-reference/unityengine/application/runinbackground.md)                     | Determines whether the Player should run when the application is in the background                                                                |
| [sandboxType](/engine/6000.5/script-reference/unityengine/application/sandboxtype.md)                             | Returns application running in a sandbox environment (Read-only).                                                                                 |
| [streamingAssetsPath](/engine/6000.5/script-reference/unityengine/application/streamingassetspath.md)             | The path to the `StreamingAssets`  folder (Read Only).                                                                                            |
| [systemLanguage](/engine/6000.5/script-reference/unityengine/application/systemlanguage.md)                       | The language in which the user's operating system is running in.                                                                                  |
| [targetFrameRate](/engine/6000.5/script-reference/unityengine/application/targetframerate.md)                     | Specifies the target frame rate at which Unity tries to render your application.                                                                  |
| [temporaryCachePath](/engine/6000.5/script-reference/unityengine/application/temporarycachepath.md)               | Contains the path to a temporary data / cache directory (Read Only).                                                                              |
| [unityVersion](/engine/6000.5/script-reference/unityengine/application/unityversion.md)                           | The version of the Unity runtime used to play the content.                                                                                        |
| [version](/engine/6000.5/script-reference/unityengine/application/version.md)                                     | Returns application version number (Read Only).                                                                                                   |

## Static Methods

| Method                                                                                                                            | Description                                                                                                                                                        |
| --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [CanStreamedLevelBeLoaded](/engine/6000.5/script-reference/unityengine/application/canstreamedlevelbeloaded.md)                   | Checks if the built scene can be loaded.                                                                                                                           |
| [GetStackTraceLogType](/engine/6000.5/script-reference/unityengine/application/getstacktracelogtype.md)                           | Get stack trace logging options. The default value is [StackTraceLogType.ScriptOnly](/engine/6000.5/script-reference/unityengine/stacktracelogtype/scriptonly.md). |
| [HasProLicense](/engine/6000.5/script-reference/unityengine/application/hasprolicense.md)                                         | Is Unity activated with the Pro license?                                                                                                                           |
| [HasUserAuthorization](/engine/6000.5/script-reference/unityengine/application/hasuserauthorization.md)                           | Check if the user has authorized use of the webcam or microphone on iOS and WebGL.                                                                                 |
| [IsPlaying](/engine/6000.5/script-reference/unityengine/application/isplaying.md)                                                 | Returns true if the given object is part of the playing world either in any kind of built Player or in Play Mode.                                                  |
| [OpenURL](/engine/6000.5/script-reference/unityengine/application/openurl.md)                                                     | Opens the URL specified, subject to the permissions and limitations of your app’s current platform and environment.                                                |
| [Quit](/engine/6000.5/script-reference/unityengine/application/quit.md)                                                           | Quits the player application.                                                                                                                                      |
| [RequestAdvertisingIdentifierAsync](/engine/6000.5/script-reference/unityengine/application/requestadvertisingidentifierasync.md) | Request an advertising ID for iOS and UWP.                                                                                                                         |
| [RequestUserAuthorization](/engine/6000.5/script-reference/unityengine/application/requestuserauthorization.md)                   | Request authorization to use the webcam or microphone on iOS or Web.                                                                                               |
| [SetStackTraceLogType](/engine/6000.5/script-reference/unityengine/application/setstacktracelogtype.md)                           | Set stack trace logging options. The default value is [StackTraceLogType.ScriptOnly](/engine/6000.5/script-reference/unityengine/stacktracelogtype/scriptonly.md). |
| [Unload](/engine/6000.5/script-reference/unityengine/application/unload.md)                                                       | Unloads the Unity Player.                                                                                                                                          |

## Static Events

| Member                                                                                                              | Description                                                                                                                                   |
| ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [deepLinkActivated](/engine/6000.5/script-reference/unityengine/application/deeplinkactivated.md)                   | This event is raised when an application running on Android, iOS, or the Universal Windows Platform (UWP) is activated using a deep link URL. |
| [focusChanged](/engine/6000.5/script-reference/unityengine/application/focuschanged.md)                             | Defines the delegate to use to register for events in which the focus gained or lost.                                                         |
| [logMessageReceived](/engine/6000.5/script-reference/unityengine/application/logmessagereceived.md)                 | Event that is fired if a log message is received.                                                                                             |
| [logMessageReceivedThreaded](/engine/6000.5/script-reference/unityengine/application/logmessagereceivedthreaded.md) | Event that is fired if a log message is received.                                                                                             |
| [lowMemory](/engine/6000.5/script-reference/unityengine/application/lowmemory.md)                                   | The `Application._lowMemory` event occurs when your application receives a low-memory notification from the device it is running on.          |
| [memoryUsageChanged](/engine/6000.5/script-reference/unityengine/application/memoryusagechanged.md)                 | Informs about significant changes in the application's memory usage.                                                                          |
| [onBeforeRender](/engine/6000.5/script-reference/unityengine/application/onbeforerender.md)                         | An event that is invoked every frame, on all platforms, immediately before rendering.                                                         |
| [quitting](/engine/6000.5/script-reference/unityengine/application/quitting.md)                                     | Unity raises this event when the Player application is quitting.                                                                              |
| [unloading](/engine/6000.5/script-reference/unityengine/application/unloading.md)                                   | Unity raises this event when the Player is unloading.                                                                                         |
| [wantsToQuit](/engine/6000.5/script-reference/unityengine/application/wantstoquit.md)                               | Unity raises this event when the Player application wants to quit.                                                                            |

## Delegates

| Delegate                                                                                                                              | Description                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Application.AdvertisingIdentifierCallback](/engine/6000.5/script-reference/unityengine/application/advertisingidentifiercallback.md) | Delegate method for fetching advertising ID.                                                                                                                                                                                                                                                                |
| [Application.LogCallback](/engine/6000.5/script-reference/unityengine/application/logcallback.md)                                     | Use this delegate type with [Application.logMessageReceived](/engine/6000.5/script-reference/unityengine/application/logmessagereceived.md) or [Application.logMessageReceivedThreaded](/engine/6000.5/script-reference/unityengine/application/logmessagereceivedthreaded.md) to monitor what gets logged. |
| [Application.LowMemoryCallback](/engine/6000.5/script-reference/unityengine/application/lowmemorycallback.md)                         | This is the delegate function when a mobile device notifies of low memory.                                                                                                                                                                                                                                  |
| [Application.MemoryUsageChangedCallback](/engine/6000.5/script-reference/unityengine/application/memoryusagechangedcallback.md)       | A delegate for the [Application.memoryUsageChanged](/engine/6000.5/script-reference/unityengine/application/memoryusagechanged.md) vent.                                                                                                                                                                    |
