AirshipSDK.AirshipInApp Class Reference
Airship InApp Experiences. More...
Public Member Functions | |
| void | SetPaused (bool paused) |
| Pauses/resumes messages. | |
| bool | IsPaused () |
| Checks if messages are paused. | |
| IEnumerator | SetDisplayInterval (TimeSpan displayInterval, Action onComplete=null, Action< Exception > onError=null) |
| Sets the display interval for messages asynchronously using a coroutine. | |
| TimeSpan | GetDisplayInterval () |
| Gets the messages display interval. | |
Detailed Description
Airship InApp Experiences.
Member Function Documentation
◆ GetDisplayInterval()
|
inline |
Gets the messages display interval.
- Returns
- The display interval.
◆ IsPaused()
|
inline |
Checks if messages are paused.
- Returns
trueif paused, otherwisefalse
◆ SetDisplayInterval()
|
inline |
Sets the display interval for messages asynchronously using a coroutine.
This method does not block Unity's main thread.
- Parameters
-
displayInterval The display interval. onComplete Optional callback invoked when the operation completes. onError Optional callback invoked if an error occurs.
- Returns
- A coroutine that can be started with StartCoroutine.
1.9.8