AirshipSDK.AirshipFeatureFlagManager Class Reference
Airship feature flag manager. More...
Public Member Functions | |
| IEnumerator | Flag (string name, Action< FeatureFlag > onComplete, Action< Exception > onError=null) |
| Retrieve a given flag's status and associated data by its name asynchronously using a coroutine. | |
| void | TrackInteraction (FeatureFlag flag) |
| Tracks a feature flag interaction event. | |
Detailed Description
Airship feature flag manager.
Member Function Documentation
◆ Flag()
|
inline |
Retrieve a given flag's status and associated data by its name asynchronously using a coroutine.
This method does not block Unity's main thread.
- Parameters
-
name The name of the flag. onComplete Callback invoked with the feature flag when the operation completes. onError Optional callback invoked if an error occurs.
- Returns
- A coroutine that can be started with StartCoroutine.
References AirshipSDK.FeatureFlag.
◆ TrackInteraction()
|
inline |
Tracks a feature flag interaction event.
- Parameters
-
flag The flag.
1.9.8