Oracle Help Center | Oracle Push Cloud Service (Standalone) title

Listening for Callbacks

The PushIO SDK provides callbacks for certain important events. These are optional listeners that can be registered through PushIOManager and implemented for additional information about an event.

The available listeners are:

You can register for these callbacks via the PushIOManager class instance.

PushIOManager pushIOManager = PushIOManager.getInstance(this);
pushIOManager.registerPushIOListener(this);
.
.
pushIOManager.ensureRegistration();

IMPORTANT: Only call ensureRegistration() after you have registered for the desired events.