EnableFeatureAction
An action that enables features. Running the action with value FEATURE_LOCATION or FEATURE_BACKGROUND_LOCATION will prompt the user for permissions before enabling.
Accepted situations: Action.Situation.PUSH_OPENED, Action.Situation.WEB_VIEW_INVOCATION, Action.Situation.MANUAL_INVOCATION, Action.Situation.AUTOMATION, and Action.Situation.FOREGROUND_NOTIFICATION_ACTION_BUTTON.
Accepted argument value - either FEATURE_USER_NOTIFICATIONS, FEATURE_BACKGROUND_LOCATION, or FEATURE_LOCATION.
Result value: true if the feature was enabled, otherwise false.
Default Registration Names: DEFAULT_NAMES
Constructors
Inherited functions
Called before an action is performed to determine if the the action can accept the arguments.
Called after the action performs.
Performs the action.
Performs the action, with pre/post execution calls, if it accepts the provided arguments.
Determines which thread runs the action.