---
title: ShieldAction
framework: managedsettings
role: symbol
role_heading: Enumeration
path: managedsettings/shieldaction
---

# ShieldAction

Constants that describe a user’s action for your extension to handle.

## Declaration

```swift
enum ShieldAction
```

## Topics

### Responding to primary button actions

- [ShieldAction.primaryButtonPressed](managedsettings/shieldaction/primarybuttonpressed.md)

### Responding to secondary button actions

- [ShieldAction.secondaryButtonPressed](managedsettings/shieldaction/secondarybuttonpressed.md)
- [ShieldAction.firstSecondarySubmenuItemPressed](managedsettings/shieldaction/firstsecondarysubmenuitempressed.md)
- [ShieldAction.secondSecondarySubmenuItemPressed](managedsettings/shieldaction/secondsecondarysubmenuitempressed.md)
- [ShieldAction.thirdSecondarySubmenuItemPressed](managedsettings/shieldaction/thirdsecondarysubmenuitempressed.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)

## See Also

### Shield actions

- [ShieldActionDelegate](managedsettings/shieldactiondelegate.md)
