NRSDKApiForUnity
Classes
NRNotificationListener

Inherits MonoBehaviour.

Classes

class  LowPowerNotification
 
class  NativeErrorNotification
 
class  Notification
 
struct  NotificationMsg
 
class  OverShutDownTemperatureNotification
 
class  SlamStateNotification
 
class  TemperatureLevelNotification
 

Public Types

enum  Level
 

Public Member Functions

void ClearAll ()
 
void Dispath (Notification notification, Level lev)
 

Public Attributes

bool EnableLowPowerTips
 
NRNotificationWindow LowPowerNotificationPrefab
 
bool EnableSlamStateTips
 
NRNotificationWindow SlamStateNotificationPrefab
 
bool EnableHighTempTips
 
NRNotificationWindow HighTempNotificationPrefab
 
bool EnableOverShutdownTempTips
 

Protected Member Functions

virtual void RegistNotification ()
 
virtual void OperateNotificationMsg (NotificationMsg msg)
 

Protected Attributes

Dictionary< Notification, NRNotificationWindow > NotificationDict = new Dictionary<Notification, NRNotificationWindow>()
 

Detailed Description

A nr notification listener.

Member Function Documentation

◆ Dispath()

void NRKernal.NRNotificationListener.Dispath ( Notification  notification,
Level  lev 
)

Dispaths notification message.

Parameters
notificationThe notification.
levThe level.

◆ OperateNotificationMsg()

virtual void NRKernal.NRNotificationListener.OperateNotificationMsg ( NotificationMsg  msg)
protectedvirtual

Operate notification message.

Parameters
msgThe message.