Airship.Net
AirshipDotNet.IAirshipFeatureFlagManager Interface Reference

Airship Feature Flag Manager interface. More...

Public Member Functions

Task< FeatureFlag?> GetFlag (string flagName)
 Gets a feature flag by name.
Task TrackInteraction (FeatureFlag flag)
 Tracks a feature flag interaction.

Detailed Description

Airship Feature Flag Manager interface.

Member Function Documentation

◆ GetFlag()

Task< FeatureFlag?> AirshipDotNet.IAirshipFeatureFlagManager.GetFlag ( string flagName)

Gets a feature flag by name.

Parameters
flagNameThe flag name.
Returns
The feature flag or null if not found.

◆ TrackInteraction()

Task AirshipDotNet.IAirshipFeatureFlagManager.TrackInteraction ( FeatureFlag flag)

Tracks a feature flag interaction.

Parameters
flagThe feature flag to track.