Registers a notification category.
All notification categories must be registered before scheduling any local notification or registering with the push notification service.
This method returns a promise object that is used to retrieve the categoryId
that
represents the notification category.
Name | Description | Type | Use |
---|---|---|---|
category |
A notification category object. |
object |
required |