Interface IPushTargetOutcome
- All Known Implementing Classes:
PushTargetOutcomeImpl
public interface IPushTargetOutcome
The outcome of a send for one target: one device subscription, or one live client session reached in-session. An element of
IPushSendResult.getTargetOutcomes().- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptiongetAppID()Gets the application ID the target was matched under.Gets the device UUID of the target.Gets the outcome.Gets the reason for an outcome that is not a delivery, as the transport or the engine gave it.getTopic()Gets the topic the target was matched under.Gets the transport the target was sent through.longGets the ID of the user the target belongs to.Gets the name of the user the target belongs to.
Method Details
getUserID
long getUserID()Gets the ID of the user the target belongs to.- Returns:
- The user ID,
IZS.USERS.uid; -1 for the in-session target of a client session without an authenticated user, whichsendToClientreaches (ruled 2026-09-26, CC-PUSH-ROADMAP row 3 B).
getUserName
String getUserName()Gets the name of the user the target belongs to.- Returns:
- The user name, never
null; empty for the target of a session without an authenticated user.
getDeviceUUID
String getDeviceUUID()Gets the device UUID of the target.- Returns:
- The canonical 36-character UUID, or
nullfor an in-session target whose client session has not reported one.
getTransport
PushTransport getTransport()Gets the transport the target was sent through.- Returns:
- The transport, or
nullfor a target reached or attempted in-session.
getAppID
String getAppID()Gets the application ID the target was matched under.- Returns:
- The canonical application ID, never
null.
getTopic
String getTopic()Gets the topic the target was matched under.- Returns:
- The topic, the empty string for the application level; never
null.
getOutcome
getReason
String getReason()Gets the reason for an outcome that is not a delivery, as the transport or the engine gave it.- Returns:
- The reason, or
nullforDeliveryOutcome.DELIVEREDandDeliveryOutcome.DELIVERED_IN_SESSION. Never key material.