Register For Notifications
This function performs the Push registration, using the necessary input parameters for each platform, and generates the Registration ID.
Parameter Configuration
This function requires you to complete the input register values with the Sender ID, the Channel Name and the Service Name. These registers are mandatory for some devices and optional for others, refer to the Input Registers section below to learn more.
Function ID
Register | Value |
---|---|
110 | 2 |
Input Registers
Register | Description | Mandatory | Value |
---|---|---|---|
336 | Sender ID | X (only for Android and Harmony) | <<SENDER_ID>> |
344 | Channel Name | X (only for Windows Phone) | <<CHANNEL_NAME>> |
345 | Service Name | X (only for Windows Phone) | <<SERVICE_NAME>> |
390 | Name of the additional channel registered in FCM (added in version 3) | <<ADDITIONAL_CHANNEL>> | |
391 | Additional Registration Data in JSON format registered in FCM (added in version 3) | Input 391 is not required to register additional channels when using HMS (Huawei Mobile Services) for Harmony, as additional channels are registered in the HMS project from the Huawei Developer console. In these cases, the only field required to obtain the Registration ID as output is the additional channel Sender ID. |
Output Registers
Register | Description | Value | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
112 | Call Result |
| ||||||||||||||
232 | Registration ID | <<REGISTRATION_ID>> | ||||||||||||||
234 | Registration Platform | <<REGISTRATION_PLATFORM>> |