For details about requesting self-classification permissions, see the HarmonyOS Message Classification Management Solution.
Huawei Push Kit accepts developer requests for self-classification permissions. After a request is approved, developers can classify their own messages according to the Message Classification Standards.
For applications that have not enabled self-classification, notifications are categorized as Information and Marketing Messages by default. For the daily push limit on these messages, see the Push Quota Management Rules.
Parameter enumeration for HarmonyOS message classification on mPaaS MPS (thirdChannelCategory.harmonyos)
Parameter (String) | Meaning |
1 | IM: Instant chat |
2 | VoIP: Voice and video calls |
3 | SUBSCRIPTION: Subscriptions |
4 | TRAVEL: Travel |
5 | HEALTH: Health |
6 | WORK: Work reminders |
7 | ACCOUNT: Account updates |
8 | EXPRESS: Orders & logistics |
9 | FINANCE: Finance |
10 | DEVICE_REMINDER: Device reminders |
11 | MAIL: Mail |
12 | CUSTOMER_SERVICE: Customer service messages |
13 | MARKETING: News, content recommendations, social updates, product promotions, financial news, lifestyle information, surveys, feature recommendations, and operational activities (This only identifies the content and does not speed up message delivery) |
Parameter example
Parameter name | Type | Required | Example | Description |
thirdChannelCategory | Map | No | thirdChannelCategory: {"harmonyos": "9"} | The example value '9' indicates a HarmonyOS message of the FINANCE type. For details about other values, see Third-party channel message classification. |