AirshipSDK.AirshipAction Class Reference
Airship action. More...
Public Member Functions | |
| IEnumerator | RunAction (string name, string? value, Action< string > onComplete, Action< Exception > onError=null) |
| Runs an Airship action asynchronously using a coroutine. | |
Detailed Description
Airship action.
Member Function Documentation
◆ RunAction()
|
inline |
Runs an Airship action asynchronously using a coroutine.
This method does not block Unity's main thread.
- Parameters
-
name The name of the action to run. value The action's value. onComplete Callback invoked with the action result when the operation completes. onError Optional callback invoked if an error occurs.
- Returns
- A coroutine that can be started with StartCoroutine.
1.9.8