Version: 2023.1
LanguageEnglish
  • C#

AnalyticsEventPriority

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Analytics event priority.

Properties

FlushQueueFlagAny current or previous events in the memory queue persist immediately to the filesystem and dispatcher service makes the events available to send to the server. It adds the events to the bottom of the dispatch queue and makes them available to send to the server.
CacheImmediatelyFlagAny current or previous events in the memory queue persist immediately to the filesystem.
AllowInStopModeFlagUse this flag to send events while in the stop state.
SendImmediateFlagEvents with this flag are given higher priority compared to others while dispatching to the server.
NoCachingFlagEvents will be stored in the memory queue, and will not persist in the file system.
NoRetryFlagIn case of failure to post the event to the server, it will not attempt to send them again.
NormalPriorityEventThis priority queues events in-memory.
NormalPriorityEvent_WithCachingThis priority queues events in-memory and writes them to the filesystem immediately.
NormalPriorityEvent_NoRetryNoCachingThis priority is similar to the AnalyticsEventPriority.NormalPriorityEvent, except these events will be stored in the memory queue and will not persist in the file system. In case of failure to post the event to the server, it will not attempt to send them again.
HighPriorityEventAny current or previous events in the memory queue persist immediately to the filesystem. It adds the events to the bottom of the dispatch queue and makes them available to send to the server.
HighPriorityEvent_InStopModeThis priority lets you send events in the stop state, and makes any current or previous events in the memory queue persist immediately to the filesystem. It adds the events to the bottom of the dispatch queue and makes them available to send to the server.
HighestPriorityEventThis priority is similar to the AnalyticsEventPriority.HighPriorityEvent, except these events are given a highest priority than other events in the disptach queue. It adds the events to the top of the dispatch queue and makes them available to send to the server.
HighestPriorityEvent_NoRetryNoCachingThis priority is similar to the AnalyticsEventPriority.HighestPriorityEvent, except these events will be stored in the memory queue and will not persist in the file system. In case of failure to post the event to the server, it will not attempt to send them again.