# Notification popup

### Ordinary prompt window

Ordinary prompt window provides information about the status of the devices, such as slam tracking state, glasses temprature level, device battery state.

![image0](https://nrealsdkdoc.readthedocs.io/en/latest/_images/n1-0.png)

**Enable Notification**

*   Find the NRSessionConfig in your project

    <img src="https://nrealsdkdoc.readthedocs.io/en/latest/_images/n1-1.png" alt="image1" data-size="original">
*   Check the “Enable Notifiction” box

    <img src="https://nrealsdkdoc.readthedocs.io/en/latest/_images/n1-2.png" alt="image2" data-size="original">

**Notification types**

* Currently provided notifiction windows:
  * Slam tracking lost
  * Glasses Temperature Warm
  * Glasses Temperature Hot
  * Phone Battery 30% Notification
  * Phone Battery 15% Notification
*   Please refer to _NRNotificationListener_ prefab under _NRSDK>Resources_ and its _NRNotificationListener.cs_ script to customize your notification message.

    <img src="https://nrealsdkdoc.readthedocs.io/en/latest/_images/n1-3.png" alt="image3" data-size="original">

### Error prompt window

Error prompt window provides information for sever error. It usually pops up when the devices has been unable to run properly.

![image4](https://nrealsdkdoc.readthedocs.io/en/latest/_images/n1-4.jpg)

**Customize error tips**

* Find the _NRErrorTips_ prefab under _NRSDK>Resources_, copy it to your project.
*   Modify and save it as a new prefab, and drag it to your SessionConfig.

    <img src="https://nrealsdkdoc.readthedocs.io/en/latest/_images/n1-5.jpg" alt="image5" data-size="original">

    <img src="https://nrealsdkdoc.readthedocs.io/en/latest/_images/n1-6.jpg" alt="image6" data-size="original">
* Modify prompt text

```csharp
// Static constants need to be replaced in awake
void Awake()
{
    NativeConstants.GlassesDisconnectErrorTip = "Please connect your Nreal Light Glasses.";
    NativeConstants.UnknowErrorTip = "Unkown error! \nPlease contact Nreal's customer service.";
}
```
