onRegistered property

(void Function(ZPNsRegisterMessage registerMessage)?) onRegistered
getter/setter pair

Available since: 2.0.0 or later.

Description: This callback can be implemented to return the PushID generated by ZPNs after the register call.

Use cases: Developers can implement this callback if they need to get PushID after they connect to the SDK.

When to call /Trigger: This notification is triggered after a call to setDeviceToken.

Implementation

static void Function(ZPNsRegisterMessage registerMessage)? onRegistered;