IOSNotificationCategory

iOS Only

A interface representing a notification category created via setNotificationCategories.


At minimum, a category must be created with a unique identifier, all other properties are optional.

View the Categories documentation to learn more.

Properties

actions

allowAnnouncement

allowAnnouncement?: undefined | false | true;

allowInCarPlay

Allow notifications in this category to be displayed in a CarPlay environment.

allowInCarPlay?: undefined | false | true;

Defaults to false.

hiddenPreviewsBodyPlaceholder

hiddenPreviewsBodyPlaceholder?: undefined | string;

hiddenPreviewsShowSubtitle

hiddenPreviewsShowSubtitle?: undefined | false | true;

hiddenPreviewsShowTitle

hiddenPreviewsShowTitle?: undefined | false | true;

id

The unique ID for the category.

id: string;

intentIdentifiers

intentIdentifiers?: IOSIntentIdentifier[];

summaryFormat

Specify a custom format for the summary text, which is visible when notifications are grouped together.

summaryFormat?: undefined | string;

View the Summary Text documentation to learn more.


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.