HmsPushProvider
HMS push provider implementation.
Provides the implementation for Huawei Mobile Services (HMS) push provider.
Syntax: class HmsPushProvider : PushProvider
Types
| Types | Description |
|---|---|
| Companion | object Companion |
Companion Functions
| Function | Syntax | Description |
|---|---|---|
| create | fun create(context: Context): HmsPushProvider | Creates and returns a new instance of HmsPushProvider. |
Properties
| Name | Syntax |
|---|---|
| servicesHelper | open override val servicesHelper: PushServicesHelper |
Functions
| Functions | Description |
|---|---|
| processToken | Processes a received token from the push notification service. |
| register | Registers a token with the push notification service. |
| subscribe | Subscribes to a specific topic for push notifications. It allows the application to receive notifications related to the specified topic. |
| unsubscribe | Unsubscribe from a specific topic for push notifications. It stops the application from receiving notifications related to the specified topic |
Updated 8 months ago
