| notification.title |
字符串属性,表示通知的标题。 |
支持 |
| notification.subtitle |
字符串属性,表示通知的副标题。 |
不支持 |
| notification.body |
字符串属性,表示通知的正文内容。 |
支持 |
| notification.replyPlaceholder |
字符串属性,表示通知回复输入框的占位文本。 |
不支持 |
| notification.sound |
字符串属性,表示通知的提示音。 |
不支持 |
| notification.closeButtonText |
字符串属性,表示通知关闭按钮的文本。 |
支持 |
| notification.silent |
布尔属性,表示通知是否静默(无声)。 |
不支持 |
| notification.hasReply |
布尔属性,表示通知是否带有回复操作。 |
不支持 |
| notification.urgency |
字符串属性,表示通知的紧急级别,可为 'normal'、'critical' 或 'low'。 |
不支持 |
| notification.timeoutType |
字符串属性,表示通知的超时类型,可为 'default' 或 'never'。 |
支持 |
| notification.actions |
NotificationAction[] 属性,表示通知所包含的操作按钮列表。 |
不支持 |
| notification.toastXml |
字符串属性,表示通知自定义的 Toast XML 内容。 |
不支持 |