EnableFeatureAction

public final class EnableFeatureAction : AirshipAction

Enables an Airship feature.

Expected argument values:

  • “user_notifications”: To enable user notifications.
  • “location”: To enable location updates.
  • “background_location”: To enable location and allow background updates.

Valid situations: ActionSituation.launchedFromPush, ActionSituation.webViewInvocation, ActionSituation.manualInvocation, ActionSituation.foregroundInteractiveButton, and ActionSituation.automation