IOSNotificationCategoryAction

iOS Only

The interface used to describe a notification quick action for iOS.


Quick actions allow users to interact with notifications, allowing you to handle events within your application. When an action completes (e.g. pressing an action, or filling out an input box) an event is sent.

View the Quick Actions documentation to learn more.

Properties

authenticationRequired

Whether this action should require unlocking before being performed.

authenticationRequired?: undefined | false | true;

destructive

Makes the action red, indicating that the action is destructive.

destructive?: undefined | false | true;

foreground

Whether this action should cause the application to launch in the foreground.

foreground?: undefined | false | true;

id

id: string;

input

If provided, the action accepts custom user input.

input?: true | IOSInput;

If true, the user will be able to provide free text input when the action is pressed.

The placeholder and button text can be customized by providing an object of type IOSInput.

View the Action Input documentation to learn more.

title

The title of the action, e.g. "Reply", "Mark as read" etc.

title: string;

Copyright 2020 - 2021 © Invertase Limited

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.