Skip to main content

Configuration

Methods

PushctlOperationCallback receives null on success or a Throwable on failure. Login and logout require a confirmed installation and update local identity only after the API accepts the change.

Subscription state

PushctlSubscriptionState contains installationId, externalUserId, permission, pushToken, registrationStatus, and registrationError. Its computed isRegistered property is true only when registrationStatus is REGISTERED. Registration status can be UNREGISTERED, REGISTERING, REGISTERED, or FAILED. Implement PushctlRegistrationListener to receive onRegistered(state) and onRegistrationFailed(error) callbacks.